A gcc-cris bug?

Tal Agmon Tal.Agmon@nsc.com
Wed Oct 6 12:02:00 GMT 2004


Richard Guenther wrote:
> Tal Agmon wrote:
>> The output should be:
>> 
>> foo is: 0, i is: 0

>no, it clearly should be

>foo is: 0, i is: 1

>Richard.

Sorry, you are right, the write output is foo is: 0, i is: 1. 
But I believe that gcc-3.4.2, target=cris, -O3 option enable, will produce 
an 
infinite loop!

Furthermore, the wrong output that I provided was copied from running this 
test
on gcc-3.4.2 on i686-pc-linux-gnu.



More information about the Gcc mailing list