[Issue 3736] corrupted struct returned by function with optimizations (-O)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 7 13:47:46 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3736



--- Comment #2 from Don <clugdbug at yahoo.com.au> 2010-02-07 13:47:44 PST ---
The problem has something to do with the transformation from 
if(cond) return xxx; else return yyy;  into return cond ? xxx : yyy;

If I comment out blockopt.c brcombine() lines 734-764, the test case doesn't
fail. That doesn't necessarily mean that the problem lies there, though.

-- 
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