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/] [20040820-1.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR rtl-optimization/17099 */
2
 
3
extern void exit (int);
4
extern void abort (void);
5
 
6
void
7
check (int a)
8
{
9
  if (a != 1)
10
    abort ();
11
}
12
 
13
void
14
test (int a, int b)
15
{
16
  check ((a ? 1 : 0) | (b ? 2 : 0));
17
}
18
 
19
int
20
main (void)
21
{
22
  test (1, 0);
23
  exit (0);
24
}

powered by: WebSVN 2.1.0

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