This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52286] wrong code bug
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2012 19:16:28 +0000
- Subject: [Bug c/52286] wrong code bug
- Auto-submitted: auto-generated
- References: <bug-52286-4@http.gcc.gnu.org/bugzilla/>
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;
}