OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20011126-1.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff.  */
/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff.  */
 
 
int a = 1;
int a = 1;
 
 
int main ()
int main ()
{
{
  long long s;
  long long s;
 
 
  s = a;
  s = a;
  if (s < 0)
  if (s < 0)
    s = -2147483648LL;
    s = -2147483648LL;
  else
  else
    s = 2147483647LL;
    s = 2147483647LL;
 
 
  if (s < 0)
  if (s < 0)
    abort ();
    abort ();
 
 
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.