[Bug c/52286] wrong code bug
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 16 19:22:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-16 19:16:28 UTC ---
Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162943
Slightly adjusted testcase:
extern void abort (void);
int
main ()
{
int a, b;
asm volatile ("" : "=r" (a) : "0" (0));
b = (~a | 1) & -2038094497;
if (b >= 0)
abort ();
return 0;
}
More information about the Gcc-bugs
mailing list