This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/37067] gcc creating wrong code with -O2



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-08-09 20:46 -------
>The loop should run 100000 times, as i does not overflow.

i does not overflow but d_phase does ...

2046 7ff00000
2047 80000000
That is an overflow.

So is:
4094 fff00000
4095 0


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]