gcc/testsuite/gcc.dg/debug/20000503-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | /* Distilled from GCC's stmt.c. Caused abort in dwarf-1 code. */ |
| 4 | |
| 5 | static void |
| 6 | expand_nl_goto_receiver () |
| 7 | { |
| 8 | { |
| 9 | static struct elims {int from, to;} elim_regs[] = {{ 16, 7}, { 16, 6}, { 20, 7},{ 20, 6}}; |
| 10 | int i; |
| 11 | |
| 12 | for (i = 0; i < sizeof elim_regs / sizeof elim_regs[0]; i++) |
| 13 | if (elim_regs[i].from == 16 && elim_regs[i].to == 6) |
| 14 | break; |
| 15 | } |
| 16 | } |