OSDN Git Service

* c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20000503-1.c
1 /* { dg-do compile { target i?86-*-linux* i?86-*-sco3.2v5* i?86-*-sysv* } } */
2 /* { dg-options "-O2 -gdwarf -g2" } */
3
4 /* Distilled from GCC's stmt.c.  Caused abort in dwarf-1 code. */
5
6 static void
7 expand_nl_goto_receiver ()
8 {
9 {
10 static struct elims {int from, to;} elim_regs[] = {{ 16, 7}, { 16, 6}, { 20, 7},{ 20, 6}};
11       int i;
12
13       for (i = 0; i < sizeof elim_regs / sizeof elim_regs[0]; i++)
14         if (elim_regs[i].from == 16 && elim_regs[i].to == 6)
15         break;
16       }
17 }