digitalmars.D.bugs - [Issue 643] New: dmd crashes with fwd-referenced .sizeof via aliases
- d-bugmail puremagic.com (19/19) Dec 04 2006 http://d.puremagic.com/issues/show_bug.cgi?id=643
- Thomas Kuehne (12/19) Dec 07 2006 -----BEGIN PGP SIGNED MESSAGE-----
- d-bugmail puremagic.com (10/10) Jan 01 2007 http://d.puremagic.com/issues/show_bug.cgi?id=643
http://d.puremagic.com/issues/show_bug.cgi?id=643 Summary: dmd crashes with fwd-referenced .sizeof via aliases Product: D Version: 0.176 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: kinaba is.s.u-tokyo.ac.jp // credit goes to http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F28 const int fooSize = Foo.sizeof; struct tagFoo {} alias tagFoo Foo; ------------------------- compiling the above code leads dmd to access violation. --
Dec 04 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail puremagic.com schrieb am 2006-12-04:http://d.puremagic.com/issues/show_bug.cgi?id=643// credit goes to http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F28 const int fooSize = Foo.sizeof; struct tagFoo {} alias tagFoo Foo; ------------------------- compiling the above code leads dmd to access violation.Added to DStress as http://dstress.kuehne.cn/compile/a/alias_40_A.d http://dstress.kuehne.cn/compile/a/alias_40_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFd/3FLK5blCcjpWoRAiBuAJ9VntrmTrFe4hx7HWClJ4E+TQugDACfegtc VfhNqRMZvb1mE2tStXZWoVY= =LITD -----END PGP SIGNATURE-----
Dec 07 2006
http://d.puremagic.com/issues/show_bug.cgi?id=643 thomas-dloop kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED OS/Version|Windows |All Resolution| |FIXED fixed by DMD-0.178 --
Jan 01 2007