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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20011126-1.c] - Blame information for rev 301

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff.  */
2
 
3
int a = 1;
4
 
5
int main ()
6
{
7
  long long s;
8
 
9
  s = a;
10
  if (s < 0)
11
    s = -2147483648LL;
12
  else
13
    s = 2147483647LL;
14
 
15
  if (s < 0)
16
    abort ();
17
 
18
  return 0;
19
}

powered by: WebSVN 2.1.0

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