URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [always_inline3.c] - Rev 384
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-Winline -O2" } */ int do_something_evil (void); inline __attribute__ ((always_inline)) void q2(void) /* { dg-message "sorry\[^\n\]*recursive" "" } */ { if (do_something_evil ()) return; q2(); /* { dg-message "sorry\[^\n\]*called from here" "" } */ q2(); /* With -O2 we don't warn here, it is eliminated by tail recursion. */ }