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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr52286.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR tree-optimization/52286 */
2
 
3
extern void abort (void);
4
 
5
int
6
main ()
7
{
8
#if __SIZEOF_INT__ > 2
9
  int a, b;
10
  asm ("" : "=r" (a) : "0" (0));
11
  b = (~a | 1) & -2038094497;
12
#else
13
  long a, b;
14
  asm ("" : "=r" (a) : "0" (0));
15
  b = (~a | 1) & -2038094497L;
16
#endif
17
  if (b >= 0)
18
    abort ();
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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