]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc/testsuite/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Mar 2007 07:25:22 +0000 (07:25 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Mar 2007 07:25:22 +0000 (07:25 +0000)
* gcc.dg/20020426-2.c: Add the fpic requirement to the PIC
dg-options rather than to the whole test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122979 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020426-2.c

index 395028ac3e88c66b1c4db1266b02178729c9f3b9..19db77891148c8040d33832724da803709154055 100644 (file)
@@ -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
index 40dd69c2cccbc809244a6710f8ee2376943d4b4a..5ddb3487c192a1e36a7e6e0539ec01cc19ef986d 100644 (file)
@@ -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);