[Issue 6951] dependency parameter (-deps) crashes dmd in release build
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 15 14:21:57 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6951
--- Comment #5 from Adrian Veith <adrian at veith-system.de> 2011-12-15 14:21:52 PST ---
Created an attachment (id=1053)
example code how to crash dmd
the crash seems only to happen if both switches -noboundscheck and
-deps="bug.dep" are used. if you omit one of them
the crash wont show. The command line I used is contained in the bug.bat
I have included the module btree.d witch is not referenced by the code in
main.d, but compiled with main.d on the same command line. Without the module
in the command line I can't reproduce the crash.
if you comment out the first writeln("Hello D-World!") in main() - no
crash
if you comment out the other two writeln(..) in main() - no crash
the code in main.d is totally unrelated to the code in btree.d, but there must
be something in btree.d which causes the crash.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list