diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-06-09 17:30:09 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-06-09 17:30:09 +0000 |
commit | b14e185fc8fabfe13dca42e9aa7c2990958f64c6 (patch) | |
tree | f117a24c6a1e034f706565619bd28c8f0d405bf1 | |
parent | 8e8238f181f8b65ba5730fe93a998ef45021f595 (diff) | |
download | gcc-b14e185fc8fabfe13dca42e9aa7c2990958f64c6.zip gcc-b14e185fc8fabfe13dca42e9aa7c2990958f64c6.tar.gz gcc-b14e185fc8fabfe13dca42e9aa7c2990958f64c6.tar.bz2 |
20000419-2.c: Fix dg-require-alias syntax.
* 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.
From-SVN: r67669
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/special/20000419-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/special/weak-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/weak/weak-3.c | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5fc1b6e..72d8a7e 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 9b46811..4a228eb 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 bc48143..b93a8ef 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 d13df69..338d9ad 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" } } */ |