[Bug tree-optimization/56899] Wrong constant folding

2013-04-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899 --- Comment #6 from Jakub Jelinek 2013-04-10 08:05:52 UTC --- Better testcase: __attribute__((noinline, noclone)) void foo (int v) { int x = -214748365 * (v - 1); if (x != -1932735285) __builtin_abort (); } int main () {

[Bug tree-optimization/56899] Wrong constant folding

2013-04-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #5 from

[Bug tree-optimization/56899] Wrong constant folding

2013-04-10 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899 --- Comment #4 from Marc Glisse 2013-04-10 07:49:24 UTC --- (In reply to comment #3) > What's the target? I can't reproduce on x86_64, armv5tel, or m68k. I've reproduced it with -O2 on x86_64-linux-gnu using trunk.

[Bug tree-optimization/56899] Wrong constant folding

2013-04-10 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899 --- Comment #3 from Mikael Pettersson 2013-04-10 07:45:20 UTC --- What's the target? I can't reproduce on x86_64, armv5tel, or m68k.

[Bug tree-optimization/56899] Wrong constant folding

2013-04-10 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899 Marc Glisse changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug tree-optimization/56899] Wrong constant folding

2013-04-10 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|