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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 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.