[Issue 5790] "Error: variable result used before set" when -release -inline -O

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 28 10:16:56 PDT 2011


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2011-03-28 10:13:29 PDT ---
(In reply to comment #0)

> I have removed everything i could,

Reduced program:


struct Foo {
    int x;
    int[3] y;
}
void baz(out int[3] y2) {
    y2[0]++;
}
void spam(out Foo f) {
    baz(f.y);
}
void main() {}

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