aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>2000-02-02 05:05:14 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>2000-02-02 05:05:14 +0000
commit15f724f6c2e730c4fae208488eecd633843509f2 (patch)
tree166fba129430ee62aad52f11b3b23cb6e23b1ae1
parentbd524aa3cf47fcc92a419069d1b5ba77c330e64c (diff)
downloadgcc-15f724f6c2e730c4fae208488eecd633843509f2.zip
gcc-15f724f6c2e730c4fae208488eecd633843509f2.tar.gz
gcc-15f724f6c2e730c4fae208488eecd633843509f2.tar.bz2
* gcc.dg/unused-2.c: Use -Wreturn-type instead of -Wall.
From-SVN: r31751
-rw-r--r--gcc/testsuite/ChangeLog2
-rw-r--r--gcc/testsuite/gcc.dg/unused-2.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bdbe550..78e9375 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,7 @@
2000-02-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+ * gcc.dg/unused-2.c: Use -Wreturn-type instead of -Wall.
+
* gcc.dg/loop-1.c: New test.
2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
diff --git a/gcc/testsuite/gcc.dg/unused-2.c b/gcc/testsuite/gcc.dg/unused-2.c
index 7755b23..f6464bd 100644
--- a/gcc/testsuite/gcc.dg/unused-2.c
+++ b/gcc/testsuite/gcc.dg/unused-2.c
@@ -3,7 +3,7 @@
by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
/* { dg-do compile } */
-/* { dg-options "-O2 -finline-functions -Wall" } */
+/* { dg-options "-O2 -finline-functions -Wreturn-type" } */
static void
foo ()