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

2010-03-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3736 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[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 changed: What|Removed |Added CC||kosmon...@tempinbox.com --- Comment #6 fro

[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 changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #

[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 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; p.x=400; if (

[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 changed: What|Removed |Added Keywords||patch --- Comment #3 from Don 2010-02-08 21:02:

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

[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 changed: What|Removed |Added CC||clugd...@yahoo.com.au Version|2.030