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/] [pr42721.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* PR c/42721 */
2
 
3
extern void abort (void);
4
 
5
static unsigned long long
6
foo (unsigned long long x, unsigned long long y)
7
{
8
  return x / y;
9
}
10
 
11
static int a, b;
12
 
13
int
14
main (void)
15
{
16
  unsigned long long c = 1;
17
  b ^= c && (foo (a, -1ULL) != 1L);
18
  if (b != 1)
19
    abort ();
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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