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

2010-02-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3736 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

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

2010-02-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3736 Kosmonaut kosmon...@tempinbox.com changed: What|Removed |Added CC|

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

2010-02-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3736 --- Comment #4 from Don clugd...@yahoo.com.au 2010-02-10 00:58:30 PST --- Here is a test case which fails in DMC 8.42n. It hits the breakpoint when compiled with -O. -- struct Foo { int x; }; Foo getFoo(Foo irrelevant) { Foo p;

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

2010-02-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3736 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch --- Comment #3 from

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

2010-02-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3736 --- Comment #2 from Don clugd...@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

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

2010-01-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3736 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au