diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20010520-1.c | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 510cc89..272a360 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-05-20 Richard Henderson <rth@redhat.com> + + * gcc.c-torture/execute/20010520-1.c: New. + 2001-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * g++.old-deja/g++.warn/compare1.C: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/20010520-1.c b/gcc/testsuite/gcc.c-torture/execute/20010520-1.c new file mode 100644 index 0000000..fa94418 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20010520-1.c @@ -0,0 +1,12 @@ +static unsigned int expr_hash_table_size = 1; + +int +main () +{ + int del = 1; + unsigned int i = 0; + + if (i < expr_hash_table_size && del) + exit (0); + abort (); +} |