summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-09 17:30:09 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-09 17:30:09 +0000
commit7e603d5af647b868b2272eb6d4107ea17e8bf59f (patch)
treef117a24c6a1e034f706565619bd28c8f0d405bf1 /gcc
parentf4ddfd0ea52353e9566ebaf283410ea86b36dd68 (diff)
downloadgcc-7e603d5af647b868b2272eb6d4107ea17e8bf59f.tar.gz
* gcc.dg/special/20000419-2.c: Fix dg-require-alias syntax.
* gcc.dg/special/weak-2.c: Add dg-require-weak. * gcc.dg/weak/weak-3.c: Reverse order of dg-do and dg-require-weak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67669 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.dg/special/20000419-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/special/weak-2.c1
-rw-r--r--gcc/testsuite/gcc.dg/weak/weak-3.c2
4 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5fc1b6e25b8..72d8a7e69fe 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2003-06-09 Mark Mitchell <mark@codesourcery.com>
+
+ * gcc.dg/special/20000419-2.c: Fix dg-require-alias syntax.
+ * gcc.dg/special/weak-2.c: Add dg-require-weak.
+ * gcc.dg/weak/weak-3.c: Reverse order of dg-do and
+ dg-require-weak.
+
2003-06-09 J"orn Rennecke <joern.rennecke@superh.com>
* g++.dg/other/offsetof3.C: Adjust linenumber of last expected warning.
diff --git a/gcc/testsuite/gcc.dg/special/20000419-2.c b/gcc/testsuite/gcc.dg/special/20000419-2.c
index 9b468115a94..4a228eb1ae9 100644
--- a/gcc/testsuite/gcc.dg/special/20000419-2.c
+++ b/gcc/testsuite/gcc.dg/special/20000419-2.c
@@ -1,7 +1,7 @@
/* A static function with a global alias should not get 'defined but
not used' warnings. Exposed by Linux kernel. */
/* { dg-do compile } */
-/* { dg-require-alias } */
+/* { dg-require-alias "" } */
/* { dg-options "-Wall" } */
extern void do_something (void);
diff --git a/gcc/testsuite/gcc.dg/special/weak-2.c b/gcc/testsuite/gcc.dg/special/weak-2.c
index bc481430eb5..b93a8ef9a52 100644
--- a/gcc/testsuite/gcc.dg/special/weak-2.c
+++ b/gcc/testsuite/gcc.dg/special/weak-2.c
@@ -1,4 +1,5 @@
/* { dg-do run } */
+/* { dg-require-weak "" } */
/* { dg-additional-sources "weak-2a.c weak-2b.c" } */
#include <stdlib.h>
diff --git a/gcc/testsuite/gcc.dg/weak/weak-3.c b/gcc/testsuite/gcc.dg/weak/weak-3.c
index d13df69bb67..338d9ad9db4 100644
--- a/gcc/testsuite/gcc.dg/weak/weak-3.c
+++ b/gcc/testsuite/gcc.dg/weak/weak-3.c
@@ -1,5 +1,5 @@
-/* { dg-require-weak "" } */
/* { dg-do compile } */
+/* { dg-require-weak "" } */
/* { dg-options "-fno-common" } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?ffoo1a" } } */