gcc/testsuite/gcc.dg/torture/pr68661-1a.c
raw| 1 | /* { dg-do run { target i?86-*-* x86_64-*-* } } */ |
| 2 | /* { dg-options "-mgeneral-regs-only" } */ |
| 3 | /* { dg-additional-sources pr68661-1b.c } */ |
| 4 | |
| 5 | extern void bar0 (int, int, int, int, int, int, int, int, int) |
| 6 | __attribute__ ((no_caller_saved_registers)); |
| 7 | |
| 8 | void |
| 9 | foo (void) |
| 10 | { |
| 11 | bar0 (0, 1, 2, 3, 4, 5, 6, 7, 8); |
| 12 | } |
| 13 | |
| 14 | void |
| 15 | bad (void) |
| 16 | { |
| 17 | __builtin_abort (); |
| 18 | } |