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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000523-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
int
2
main (void)
3
{
4
  long long   x;
5
  int         n;
6
 
7
  if (sizeof (long long) < 8)
8
    exit (0);
9
 
10
  n = 9;
11
  x = (((long long) n) << 55) / 0xff;
12
 
13
  if (x == 0)
14
    abort ();
15
 
16
  x = (((long long) 9) << 55) / 0xff;
17
 
18
  if (x == 0)
19
    abort ();
20
 
21
  exit (0);
22
}

powered by: WebSVN 2.1.0

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