* gcc.dg/20000503-1.c: New test.
From-SVN: r33656
This commit is contained in:
parent
2a6fa433d0
commit
22a8784041
@ -1,3 +1,7 @@
|
||||
2000-05-03 Robert Lipe <robertlipe@usa.net>
|
||||
|
||||
* gcc.dg/20000503-1.c: New test.
|
||||
|
||||
2000-05-02 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc.c-torture/compile/20000502-1.c: New test.
|
||||
|
17
gcc/testsuite/gcc.dg/20000503-1.c
Normal file
17
gcc/testsuite/gcc.dg/20000503-1.c
Normal file
@ -0,0 +1,17 @@
|
||||
/* { dg-do compile { target i?86-*-linux* i?86-*-sco3.2v5* i?86-*-sysv* } } */
|
||||
/* { dg-options "-O2 -gdwarf -g2" } */
|
||||
|
||||
/* Distilled from GCC's stmt.c. Caused abort in dwarf-1 code. */
|
||||
|
||||
static void
|
||||
expand_nl_goto_receiver ()
|
||||
{
|
||||
{
|
||||
static struct elims {int from, to;} elim_regs[] = {{ 16, 7}, { 16, 6}, { 20, 7},{ 20, 6}};
|
||||
int i;
|
||||
|
||||
for (i = 0; i < sizeof elim_regs / sizeof elim_regs[0]; i++)
|
||||
if (elim_regs[i].from == 16 && elim_regs[i].to == 6)
|
||||
break;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user