------- Comment #4 from matthias at goldhoorn dot eu  2010-03-17 13:57 -------
Forgotten output with optimization:
(10.000000,20.000000)
(0.000000,0.000000)
(0.000000,0.000000)
(0.000000,0.000000)
sould be:
(10.000000,20.000000)
(10.000000,20.000000)
(10.000000,20.000000)
(10.000000,20.000000)


without optimization:
(10.000000,20.000000)
(10.000000,20.000000)
(10.000000,20.000000)
(10.000000,20.000000)
sould be:
(10.000000,20.000000)
(10.000000,20.000000)
(10.000000,20.000000)
(10.000000,20.000000)


(In reply to comment #0)
> On the assigned file you can reproduce the bug.
> 
> If you compile this file with -O2 the error occures, only way is use -O0 or 
> use
> volatile statement for the double arrays.
> 
> I think this should be checkt during optimization.
> 
> Greets,
> Matthias
> 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43401

Reply via email to