[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:20:40 PDT 2011


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



--- Comment #2 from Jordi Rovira i Bonet <jordi at rovira.cat> 2011-03-28 10:17:14 PDT ---
(In reply to comment #1)
> (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() {}

Thanks!

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