]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc/testsuite/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Mar 2007 21:27:55 +0000 (21:27 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Mar 2007 21:27:55 +0000 (21:27 +0000)
* g++.dg/opt/mmx1.C: Only use the PIC options for fpic targets.
* g++.old-deja/g++.other/store-expr1.C: Require fpic.

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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/mmx1.C
gcc/testsuite/g++.old-deja/g++.other/store-expr1.C

index e11851c9320debea49890aae6f5f062c4f426073..94b5cf2d39077e835557fc19349a4e6ab187484a 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-15  Richard Sandiford  <richard@codesourcery.com>
+
+       * g++.dg/opt/mmx1.C: Only use the PIC options for fpic targets.
+       * g++.old-deja/g++.other/store-expr1.C: Require fpic.
+
 2007-03-15  Richard Sandiford  <richard@codesourcery.com>
 
        * lib/target-supports.exp (check_missing_uclibc_feature)
index 93e3fe7f81451efcefba8b8859652ad600899ef5..7af0d0145c4148a024126a7b7658eca020b37272 100644 (file)
@@ -3,7 +3,7 @@
 // mmx -> mmx register moves.
 // { dg-do compile }
 // { dg-options "-O2" }
-// { dg-options "-fno-exceptions -O2 -mmmx -fPIC" { target { { i?86-*-* x86_64-*-* } && ilp32 }  } }
+// { dg-options "-fno-exceptions -O2 -mmmx -fPIC" { target { { i?86-*-* x86_64-*-* } && { ilp32 && fpic } } } }
 
 struct A {
   unsigned a0;
index c1b19536be84bf91c689032cb752773c368fed8c..5eb0d3864312f308975dd2c8e1a1a4955a725347 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target i?86-*-* x86_64-*-* } }
 // { dg-require-effective-target ilp32 }
+// { dg-require-effective-target fpic }
 // { dg-options "-mtune=i686 -O2 -fpic" }
 // { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))|\[Bb\]ad fixup at .DATA.:" "PIC unsupported" { xfail *-*-netware* } 0 }
 class G {};