* gcc.dg/20020104-2.c: New test.

From-SVN: r48542
This commit is contained in:
Jakub Jelinek 2002-01-04 22:05:50 +01:00 committed by Jakub Jelinek
parent b0832fe1f3
commit 336b7dca5b
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,8 @@
* gcc.dg/20020104-1.c: New test.
* gcc.dg/20020104-2.c: New test.
2002-01-04 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/20020103-1.c: Fix typo in target selector.

View File

@ -0,0 +1,10 @@
/* This testcase used to fail because outlining_inline_function was called
too early, before rtl was generated. */
/* { dg-do compile } */
/* { dg-options "-O3 -g" } */
int foo (const int *x)
{
char a[*x];
return 0;
}