URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr49281.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR target/49281 */ extern void abort (void); __attribute__((noinline, noclone)) int foo (int x) { return (x << 2) | 4; } __attribute__((noinline, noclone)) int bar (int x) { return (x << 2) | 3; } int main () { if (foo (43) != 172 || foo (1) != 4 || foo (2) != 12) abort (); if (bar (43) != 175 || bar (1) != 7 || bar (2) != 11) abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log