[Bug tree-optimization/57343] [4.8/4.9 Regression] wrong code on x86_64-linux at -Os and above
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 21 06:23:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57343
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-05-21
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |4.8.1
Summary|wrong code on x86_64-linux |[4.8/4.9 Regression] wrong
|at -Os and above |code on x86_64-linux at -Os
| |and above
Ever confirmed|0 |1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r193098 .
int c = 0;
int
main ()
{
int i, f = 1;
for (i = 0; i < 5; i++)
{
--c;
unsigned char h = c * 100;
if (h == 0)
{
f = 0;
break;
}
}
if (f != 1)
__builtin_abort ();
return 0;
}
More information about the Gcc-bugs
mailing list