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/] [torture/] [stackalign/] [nested-5.c] - Rev 300
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ extern void abort (void); extern void exit (int); #ifndef NO_TRAMPOLINES static void recursive (int n, void (*proc) (void)) { __label__ l1; void do_goto (void) { goto l1; } if (n == 3) recursive (n - 1, do_goto); else if (n > 0) recursive (n - 1, proc); else (*proc) (); return; l1: if (n == 3) exit (0); else abort (); } int main () { recursive (10, abort); abort (); } #else int main () { return 0; } #endif
Go to most recent revision | Compare with Previous | Blame | View Log