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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 jeremybenn
extern void abort (void);
2
 
3
unsigned int a, b = 1, c;
4
 
5
void __attribute__ ((noinline))
6
foo (int x)
7
{
8
  if (x != 5)
9
    abort ();
10
}
11
 
12
int
13
main ()
14
{
15
  unsigned int d, e;
16
  for (d = 1; d < 5; d++)
17
    if (c)
18
      a = b;
19
  a = b;
20
  e = a << 1;
21
  if (e)
22
    e = (e << 1) ^ 1;
23
  foo (e);
24
  return 0;
25
}

powered by: WebSVN 2.1.0

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