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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr45059.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* PR tree-optimization/45059 */
2
 
3
typedef unsigned int T;
4
extern void foo (signed char *, int);
5
 
6
static signed char a;
7
static T b[1] = { -1 };
8
static unsigned char c;
9
 
10
static inline short int
11
bar (short v)
12
{
13
  c |= a < b[0];
14
  return 0;
15
}
16
 
17
int
18
main ()
19
{
20
  signed char *e = &a;
21
  foo (e, bar (bar (c)));
22
  return 0;
23
}

powered by: WebSVN 2.1.0

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