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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [vrp-7.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
 
2
void abort (void);
3
 
4
struct T
5
{
6
  int b : 1;
7
} t;
8
 
9
void __attribute__((noinline)) foo (int f)
10
{
11
  t.b = (f & 0x10) ? 1 : 0;
12
}
13
 
14
int main (void)
15
{
16
  foo (0x10);
17
  if (!t.b)
18
    abort ();
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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