aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-03-16 07:25:22 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-03-16 07:25:22 +0000
commitba006834f9586475d6aacad6ae4b2c82c69ac2e2 (patch)
treeb70f9a50e9b731494e6ed91cf848d252be5a8899 /gcc
parent43bc306a765beb7dbc2b87a0e88851a904c2d0a4 (diff)
downloadgcc-ba006834f9586475d6aacad6ae4b2c82c69ac2e2.zip
gcc-ba006834f9586475d6aacad6ae4b2c82c69ac2e2.tar.gz
gcc-ba006834f9586475d6aacad6ae4b2c82c69ac2e2.tar.bz2
20020426-2.c: Add the fpic requirement to the PIC dg-options rather than to the whole test.
gcc/testsuite/ * gcc.dg/20020426-2.c: Add the fpic requirement to the PIC dg-options rather than to the whole test. From-SVN: r122979
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/20020426-2.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 395028a..19db778 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-16 Richard Sandiford <richard@codesourcery.com>
+
+ * gcc.dg/20020426-2.c: Add the fpic requirement to the PIC
+ dg-options rather than to the whole test.
+
2007-03-16 Alexandre Oliva <aoliva@redhat.com>
PR debug/29906
diff --git a/gcc/testsuite/gcc.dg/20020426-2.c b/gcc/testsuite/gcc.dg/20020426-2.c
index 40dd69c..5ddb348 100644
--- a/gcc/testsuite/gcc.dg/20020426-2.c
+++ b/gcc/testsuite/gcc.dg/20020426-2.c
@@ -2,8 +2,7 @@
Distilled from zlib sources. */
/* { dg-do run } */
/* { dg-options "-O2" } */
-/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
-/* { dg-require-effective-target fpic } */
+/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && { ilp32 && fpic } } } } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
extern void exit (int);