http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58143
--- Comment #7 from Bernd Edlinger ---
How can I set the status of this tracker to CONFIRMED ?
Should'nt the component be "tree-optimization" instead of "middle-end" ?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58143
--- Comment #6 from Bernd Edlinger ---
Created attachment 30681
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30681&action=edit
possible fix
This seems to be a possible fix.
What do you think of it, Jan?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58143
--- Comment #5 from Bernd Edlinger ---
Summary:
tree-ssa-loop-im.c moves code, out of an if statement inside the loop
it it can not cause side effects or faults, but it does not care of integer
overflows. this seems to be an optimization!
BUT tr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58143
Bernd Edlinger changed:
What|Removed |Added
CC||bernd.edlinger at hotmail dot
de
--- Co
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58143
Mikael Pettersson changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58143
--- Comment #2 from Zhendong Su ---
Andrew, because of short-circuiting, when p >= 0, the expression "-2147483647 -
1 - p" isn't actually evaluated.
Thanks for looking into this so quickly!
Zhendong
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58143
--- Comment #1 from Andrew Pinski ---
-2147483647 - 1 - p
Hmm, this overflows for p > 1.