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 ()
{
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899
Richard Biener changed:
What|Removed |Added
Keywords||wrong-code
--- Comment #5 from
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.
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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899
Marc Glisse changed:
What|Removed |Added
Status|RESOLVED|NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56899
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|