← Back to index
|
Original Bugzilla link
Bug 396 – aliased identifier in asm blocks cause compiler segment faults
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-10-03T12:18:00Z
Last change time
2014-02-15T13:20:50Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2006-10-03T12:18:18Z
# void main(){ # int x = 1; # # alias x y; # # asm{ # mov EAX, x; // OK # mov EAX, y; // compiler segment fault # } # }
Comment #1
by thomas-dloop — 2006-10-04T01:42:15Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[email protected]
schrieb am 2006-10-03: >
http://d.puremagic.com/issues/show_bug.cgi?id=396
> # void main(){ > # int x = 1; > # > # alias x y; > # > # asm{ > # mov EAX, x; // OK > # mov EAX, y; // compiler segment fault > # } > # } Added to DStress as
http://dstress.kuehne.cn/run/a/alias_38_A.d
http://dstress.kuehne.cn/run/a/alias_38_B.d
http://dstress.kuehne.cn/run/a/alias_38_C.d
Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFI1RuLK5blCcjpWoRAmt/AJ47imlh0elHa9wy86xdQnC+kouAAQCfXOL4 JlsXFuXGMBmYdIHwo7hKLLQ= =xwJ/ -----END PGP SIGNATURE-----
Comment #2
by bugzilla — 2006-10-10T03:30:33Z
Fixed DMD 0.169