diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 572e897fc2925ee92284e19e0a30125b409a7af8..018d6b84946d8c8271e436b75b8c35889af8069f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-11-21 Jakub Jelinek <jakub@redhat.com> + + * gcc.c-torture/execute/20001121-1.c: New test. + 2000-11-21 Richard Henderson <rth@redhat.com> * gcc.c-torture/compile/20001121-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/20001121-1.c b/gcc/testsuite/gcc.c-torture/execute/20001121-1.c new file mode 100644 index 0000000000000000000000000000000000000000..3647456f548cf43d77d098e8ee396f50c6ac4bfa --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20001121-1.c @@ -0,0 +1,19 @@ +double d; + +__inline__ double foo (void) +{ + return d; +} + +__inline__ int bar (void) +{ + foo(); + return 0; +} + +int main (void) +{ + if (bar ()) + abort (); + exit (0); +}