This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/52286] wrong code bug


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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]