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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr47299.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR rtl-optimization/47299 */
2
 
3
extern void abort (void);
4
 
5
__attribute__ ((noinline, noclone)) unsigned short
6
foo (unsigned char x)
7
{
8
  return x * 255;
9
}
10
 
11
int
12
main ()
13
{
14
  if (foo (0x40) != 0x3fc0)
15
    abort ();
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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