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/] [compile/] [20020530-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR optimization/6822 */
2
 
3
extern unsigned char foo1 (void);
4
extern unsigned short foo2 (void);
5
 
6
int bar1 (void)
7
{
8
  unsigned char q = foo1 ();
9
  return (q < 0x80) ? 64 : 0;
10
}
11
 
12
int bar2 (void)
13
{
14
  unsigned short h = foo2 ();
15
  return (h < 0x8000) ? 64 : 0;
16
}

powered by: WebSVN 2.1.0

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