20091002-1_0.C: Use "dg-require-effective-target fpic".
authorBernd Schmidt <bernds@codesourcery.com>
Fri, 1 Apr 2011 17:47:12 +0000 (17:47 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 1 Apr 2011 17:47:12 +0000 (17:47 +0000)
* g++.dg/lto/20091002-1_0.C: Use "dg-require-effective-target fpic".
* g++.dg/lto/20091002-2_0.C: Likewise.
* g++.dg/lto/20090303_0.c: Likewise.
* g++.dg/lto/20091004-1_0.C: Likewise.
* g++.dg/lto/20091002-3_0.C: Likewise.
* g++.dg/lto/20091004-2_0.C: Likewise.
* g++.dg/lto/20081123_0.C: Likewise.
* g++.dg/lto/20090313_0.C: Likewise.
* g++.dg/lto/20081109-1_0.C: Likewise.
* g++.dg/lto/20081219_0.C: Likewise.
* g++.dg/lto/20081204-1_0.C: Likewise.
* g++.dg/lto/20090302_0.C: Likewise.
* g++.dg/lto/20081119-1_0.C: Likewise.
* g++.dg/lto/20081118_0.C: Likewise.
* gcc.dg/lto/20091020-2_0.c: Likewise.
* gcc.dg/lto/20090210_0.c: Likewise.
* gcc.dg/lto/20081204-1_0.c: Likewise.
* gcc.dg/lto/20081224_0.c: Likewise.
* gcc.dg/lto/20090219_0.c: Likewise.
* gcc.dg/lto/20091014-1_0.c: Likewise.
* gcc.dg/lto/20091016-1_0.c: Likewise.
* gcc.dg/lto/20090206-2_0.c: Likewise.
* gcc.dg/lto/20090116_0.c: Likewise.
* gcc.dg/lto/20091013-1_0.c: Likewise.
* gcc.dg/lto/20091015-1_0.c: Likewise.
* gcc.dg/lto/20090126-2_0.c: Likewise.

From-SVN: r171844

27 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/20081109-1_0.C
gcc/testsuite/g++.dg/lto/20081118_0.C
gcc/testsuite/g++.dg/lto/20081119-1_0.C
gcc/testsuite/g++.dg/lto/20081123_0.C
gcc/testsuite/g++.dg/lto/20081204-1_0.C
gcc/testsuite/g++.dg/lto/20081219_0.C
gcc/testsuite/g++.dg/lto/20090302_0.C
gcc/testsuite/g++.dg/lto/20090313_0.C
gcc/testsuite/g++.dg/lto/20091002-1_0.C
gcc/testsuite/g++.dg/lto/20091002-2_0.C
gcc/testsuite/g++.dg/lto/20091002-3_0.C
gcc/testsuite/g++.dg/lto/20091004-1_0.C
gcc/testsuite/g++.dg/lto/20091004-2_0.C
gcc/testsuite/gcc.dg/lto/20081204-1_0.c
gcc/testsuite/gcc.dg/lto/20081224_0.c
gcc/testsuite/gcc.dg/lto/20090116_0.c
gcc/testsuite/gcc.dg/lto/20090126-2_0.c
gcc/testsuite/gcc.dg/lto/20090206-2_0.c
gcc/testsuite/gcc.dg/lto/20090210_0.c
gcc/testsuite/gcc.dg/lto/20090219_0.c
gcc/testsuite/gcc.dg/lto/20091013-1_0.c
gcc/testsuite/gcc.dg/lto/20091014-1_0.c
gcc/testsuite/gcc.dg/lto/20091015-1_0.c
gcc/testsuite/gcc.dg/lto/20091016-1_0.c
gcc/testsuite/gcc.dg/lto/20091020-1_0.c
gcc/testsuite/gcc.dg/lto/20091020-2_0.c

index dcdf555ce22292868fedba01555cce7baf10ece6..19ab50df6db0107f9c0857142aafd5494ec6fce3 100644 (file)
@@ -2,6 +2,33 @@
 
        * gcc.c-torture/compile/20110401-1.c: New test.
 
+       * g++.dg/lto/20091002-1_0.C: Use "dg-require-effective-target fpic".
+       * g++.dg/lto/20091002-2_0.C: Likewise.
+       * g++.dg/lto/20090303_0.c: Likewise.
+       * g++.dg/lto/20091004-1_0.C: Likewise.
+       * g++.dg/lto/20091002-3_0.C: Likewise.
+       * g++.dg/lto/20091004-2_0.C: Likewise.
+       * g++.dg/lto/20081123_0.C: Likewise.
+       * g++.dg/lto/20090313_0.C: Likewise.
+       * g++.dg/lto/20081109-1_0.C: Likewise.
+       * g++.dg/lto/20081219_0.C: Likewise.
+       * g++.dg/lto/20081204-1_0.C: Likewise.
+       * g++.dg/lto/20090302_0.C: Likewise.
+       * g++.dg/lto/20081119-1_0.C: Likewise.
+       * g++.dg/lto/20081118_0.C: Likewise.
+       * gcc.dg/lto/20091020-2_0.c: Likewise.
+       * gcc.dg/lto/20090210_0.c: Likewise.
+       * gcc.dg/lto/20081204-1_0.c: Likewise.
+       * gcc.dg/lto/20081224_0.c: Likewise.
+       * gcc.dg/lto/20090219_0.c: Likewise.
+       * gcc.dg/lto/20091014-1_0.c: Likewise.
+       * gcc.dg/lto/20091016-1_0.c: Likewise.
+       * gcc.dg/lto/20090206-2_0.c: Likewise.
+       * gcc.dg/lto/20090116_0.c: Likewise.
+       * gcc.dg/lto/20091013-1_0.c: Likewise.
+       * gcc.dg/lto/20091015-1_0.c: Likewise.
+       * gcc.dg/lto/20090126-2_0.c: Likewise.
+
 2011-03-31  Ian Lance Taylor  <iant@google.com>
 
        * go.test/go-test.exp (go-set-goarch): Recognize MIPS ABIs.
index 474ceba79c97ccaaa070e114993550a450bc13f3..711533600ed327e251dea5ec92353b4d4f59b18a 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC -flto -flto-partition=1to1}} }
 // { dg-extra-ld-options "-fPIC -flto -flto-partition=1to1 -r -nostdlib -fno-exceptions" }
 void func(); class Foo { };
index f11c76b67f5b4c4e7eca142f18a98dcde1f442ba..7be32b6e2a7f5336131c62f5cc78bbf48fda23ae 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
 
 /* We used to ICE because of dangling pointers.  */
index a2d5bd320a86750854ddabdff49726502e92e887..ca1455e49e775373a08768c7a236e2e66d450604 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
 
 #include "20081119-1.h"
index 8817be8f0a93617742be08388838435ba9436d2e..4cbc25338dd472657354364a2cb26920cac09d34 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} }
 
 int
index 0d24878897f1f3f51b09abb93e1c263e318f7960..b87006a6bad2f07d82c84e88f5781ff36a3c27f7 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
 
 /* Tests for the absence during linking of:
index 432a60c45f2dc97979507cb71ce20f37e4d19398..8f2c2e07edd8718ea0185166112dfc06dbe628c9 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -O2}} }
 // { dg-extra-ld-options "-O2 -fPIC -flto -flto-partition=1to1 -r -nostdlib" }
 
index 76de7baf0fa6231e0b9c700341a1bddb5ef5894d..d65d490d3e5a9044d2dd0ddc0925fb0a67405287 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
 struct Foo {
   bool Mumble();
index 70029e6510530d04da786e7813fd39c74447e012..cba9d054fcb6cc12fbb751045f30b2087253f2fe 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-flto -flto-partition=1to1 -fPIC}} }
 // { dg-extra-ld-options "-flto -flto-partition=1to1 -r -nostdlib" }
 
index 050211ac355864fa3fa14ee9ef1d68dbe38b9a0c..c63b079d77b7d05f885e74484914efa8e7bda0e7 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC -flto}} }
 // { dg-extra-ld-options "-fPIC -r -nostdlib" }
 
index c150e977d141a1bba6e258321bf91a31af675e9b..bf936bf53a35684f407898cf7c6366c06403b6e9 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC}} }
 // { dg-extra-ld-options "-fPIC -r -nostdlib" }
 
index 3c77f4b596fcdaab92082fc2c4f8036b8c953dcc..4bff78b49372f731d70e55c1a668ba0dfb7402f8 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC}} }
 // { dg-extra-ld-options "-fPIC -r -nostdlib" }
 
index d65cf29fff1e4a32d97669c1688bcd11131f2c33..649e35cb80d0ac42cad01f8ff2935ce0d2f358b9 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC -O -flto}} }
 
 typedef double Real;
index 321e50bc28d7b4454d5e0547f0aa4aa2fe60950e..cc1204e6f7e49aec5ea5807c558865ea4ffcb2dd 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-lto-do link }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC -O -flto}} }
 
 typedef double Real;
index a4b25ff82fb623593c5f9310420395aaf15734b4..0c3849f6182793c91bbd3a42f6f09ed0f9bbdbfb 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
 
 /* Tests for the absence during linking of:
index d050e23123892634527120c0abc8dfbe5428f2c2..9f9afdf85c7dbb1a86f8c56eae6831b93680f9c4 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} } */
 #include "20081224_0.h"
 
index 5bb3a919a599056a253a0aed7ace60fc55a4f77f..4a865969901e364d10407bbcb7aaa835d00fa7ee 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-O1 -flto -flto-partition=1to1 -fPIC}} } */
 /* { dg-extra-ld-options {-r -nostdlib -O0} } */
 
index 2239412d1af028b44360c2f8d6d2fdeeb2cc6a17..f75a05fec624c075b86d291ab0e471c74ac3735a 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -O2 -flto -flto-partition=1to1}} } */
 /* { dg-extra-ld-options {-fno-PIC -r -nostdlib -O2 -flto -flto-partition=1to1} } */
 
index 4ca80ea4810913cafc91d05f19a2689a106d5d1b..2f4020a011c414630cfc27cb5a5996ee7ef392ed 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-skip-if "" { ! { i?86-*-linux* x86_64-*-linux* } } { "*" } { "" } } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC}} } */
 /* { dg-suppress-ld-options {-fPIC} } */
 
index 2c858a67d326ceee5467c4184242fe9494cb23e8..cf375e8d8e719678150ad70ff5869031f9be2788 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do run }  */
+/* { dg-require-effective-target fpic } */
 /* { dg-suppress-ld-options {-fPIC} }  */
 /* { dg-require-effective-target tls } */
 /* { dg-extra-ld-options "-pthread" { target *-*-solaris2.[89] } } */
index 81a93e6da53ff23d1232ec09174518bd2d9ea337..985c884cecd7f2a61ecdea6959607b8cd7099992 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-O3 -flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
 
 struct Foo { int f1, f2, f3, f4, f5; };
index 0fecce04f09be365ee34ad3b5d7381a1dbed2b41..83de8d3223bd1b1574bf307f024c1404986d9447 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto} {-fPIC -r -nostdlib -O2 -flto}} } */
 
 void * HeapAlloc(void*,unsigned int,unsigned long);
index 975214e0430a448e28f764277871f74e1c1e1a79..be327aaff908ec5030b8e1cd2017d88970c906a5 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
 
 /* Empty file.  See PR41173.  */
index 1cc4b78b31b2305df7ae9c26f99f4b7e589ab03a..1c11f644888d4f04ce59cd25fe951eb3ff43c803 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -O2 -flto} {-fPIC -r -nostdlib -O2 -flto -flto-partition=1to1}} } */
 
 #include "20091015-1_b.h"
index 39a04b950bfc86983ec756e1f77d6bfba87db53b..b44c75a97c487743ae65cd9bdbb8111f76029730 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -O2 -flto}} } */
 
 typedef struct VEC_constructor_elt_gc { } VEC_constructor_elt_gc;
index c9bcb565d96b8e3b68a8857e6d152b588c26e592..f9d8bf87de60f7d90df894fcee4a03f686cb26aa 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
 
 typedef struct {
index fb1a82bb8c6b536f958c328e115302f11117b91a..21e5967873230358e79749dbc8ef83fb34bfccff 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target fpic } */
 /* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
 
 typedef struct {