diff options
author | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | 2001-10-10 18:36:46 +0000 |
---|---|---|
committer | Franz Sirl <sirl@gcc.gnu.org> | 2001-10-10 18:36:46 +0000 |
commit | 6cb3ae1ed6521a3b331c351684d404e53377a0b9 (patch) | |
tree | d42bf0ee48a749c8ee923798a7d43d71ae90f29a | |
parent | c156ea30830b97fcd813360b6226ac04c93282c5 (diff) | |
download | gcc-6cb3ae1ed6521a3b331c351684d404e53377a0b9.zip gcc-6cb3ae1ed6521a3b331c351684d404e53377a0b9.tar.gz gcc-6cb3ae1ed6521a3b331c351684d404e53377a0b9.tar.bz2 |
20011010-1.c: New.
2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/compile/20011010-1.c: New.
From-SVN: r46151
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20011010-1.c | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a6c3df6..eb25dca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + + * gcc.c-torture/compile/20011010-1.c: New. + 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk> * consistency.vlad/vlad.exp, g++.old-deja/g++.mike/p784.C, diff --git a/gcc/testsuite/gcc.c-torture/compile/20011010-1.c b/gcc/testsuite/gcc.c-torture/compile/20011010-1.c new file mode 100644 index 0000000..b0137554 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20011010-1.c @@ -0,0 +1,10 @@ +extern int used (void); + + +int foo () +{ + int i; + for (; used (); ({while (1) if (used ()) return 0;})) + i++; + return i; +} |