[Issue 14502] dmd -O optimization breaks app

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Apr 27 11:42:08 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14502

--- Comment #6 from Tomáš Chaloupka <chalucha at gmail.com> ---
dustmite is problematic because it can lead to versions which segfaults too,
but with other reason or which eats all mem, etc. And is slow as hell to test
outputs from all variants (-O -release, -release, -debug) - I let it run for
more than 24hours actually with just slightly shorter version..

So I tried manually compare version which works and version which don't and
made an attachment with failing version and with simplified patch to working
version.

Patch consists of 3 changes.
I would guess something with:
new BasicBlockEdge(... instead of just BasicBlockEdge(...

BasicBlockEdge is a struct

But don't understand internals of what new means for structs?

--


More information about the Digitalmars-d-bugs mailing list