diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2003-05-03 08:42:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2003-05-03 08:42:58 +0000 |
commit | 4dc27b4b677191a4fca866eef939c80db8db7cb7 (patch) | |
tree | a95fc3c1e3ee4947fcefb295cd4b0046ecd9fcb6 /gcc | |
parent | 969c6c43acf02fa2c65bf9594c3a78a9c4a2c5c8 (diff) | |
download | gcc-4dc27b4b677191a4fca866eef939c80db8db7cb7.zip gcc-4dc27b4b677191a4fca866eef939c80db8db7cb7.tar.gz gcc-4dc27b4b677191a4fca866eef939c80db8db7cb7.tar.bz2 |
* gcc.c-torture/compile/20030503-1.c: New test.
From-SVN: r66421
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20030503-1.c | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index db3bb0a..1f0db70 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-05-03 Richard Sandiford <rsandifo@redhat.com> + + * gcc.c-torture/compile/20030503-1.c: New test. + 2003-05-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> * g++.dg/lookup/using5.C: Fix testcase error. diff --git a/gcc/testsuite/gcc.c-torture/compile/20030503-1.c b/gcc/testsuite/gcc.c-torture/compile/20030503-1.c new file mode 100644 index 0000000..3c2b28d --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20030503-1.c @@ -0,0 +1,12 @@ +void foo () +{ + if (1) + goto foo; + else + for (;;) + { + foo: + bar (); + return; + } +} |