URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [tailcall-3.c] - Rev 378
Go to most recent revision | Compare with Previous | Blame | View Log
/* The return argument needs a type conversion which on some targets (e.g. s390) needs additional code. So it is invalid to do tail call optimization here. */ /* { dg-do compile } */ /* { dg-options "-O2" } */ extern void abort (void); long long __attribute__((noinline)) foo () { return 3; } int __attribute__((noinline)) boo () { return foo (); } int main () { if (boo () != 3) abort (); }
Go to most recent revision | Compare with Previous | Blame | View Log