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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20020611-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* PR target/6997.  Missing (set_attr "cc" "none") in sleu pattern in
2
   cris.md.  Testcase from hp@axis.com.  */
3
 
4
int p;
5
int k;
6
unsigned int n;
7
 
8
void x ()
9
{
10
  unsigned int h;
11
 
12
  h = n <= 30;
13
  if (h)
14
    p = 1;
15
  else
16
    p = 0;
17
 
18
  if (h)
19
    k = 1;
20
  else
21
    k = 0;
22
}
23
 
24
unsigned int n = 30;
25
 
26
main ()
27
{
28
  x ();
29
  if (p != 1 || k != 1)
30
    abort ();
31
  exit (0);
32
}

powered by: WebSVN 2.1.0

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