[testsuite] Fix tests for pr84805 and pr85405.
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 19 Apr 2018 08:59:36 +0000 (08:59 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Thu, 19 Apr 2018 08:59:36 +0000 (10:59 +0200)
2018-04-19  Christophe Lyon  <christophe.lyon@linaro.org>

* g++.dg/lto/pr85405_0.C: Require shared and fpic effective
targets.
* g++.dg/lto/pr85405b_0.C: Likewise.
* g++.dg/lto/pr84805_0.C: Likewise.

From-SVN: r259492

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr84805_0.C
gcc/testsuite/g++.dg/lto/pr85405_0.C
gcc/testsuite/g++.dg/lto/pr85405b_0.C

index a5965b1..018c6b5 100644 (file)
@@ -1,3 +1,10 @@
+2018-04-19  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * g++.dg/lto/pr85405_0.C: Require shared and fpic effective
+       targets.
+       * g++.dg/lto/pr85405b_0.C: Likewise.
+       * g++.dg/lto/pr84805_0.C: Likewise.
+
 2018-04-18  Martin Liska  <mliska@suse.cz>
 
        PR ipa/83983
 2018-04-18  Martin Liska  <mliska@suse.cz>
 
        PR ipa/83983
index 3482804..eda0333 100644 (file)
@@ -1,4 +1,6 @@
 // { dg-lto-do link }
 // { dg-lto-do link }
+// { dg-require-effective-target shared }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-O0 -fPIC -shared -flto}} }
 
 template < typename _Tp, _Tp __v > struct integral_constant {
 // { dg-lto-options {{-O0 -fPIC -shared -flto}} }
 
 template < typename _Tp, _Tp __v > struct integral_constant {
index 1a41d81..1d46ea9 100644 (file)
@@ -1,4 +1,6 @@
 // { dg-lto-do link }
 // { dg-lto-do link }
+// { dg-require-effective-target shared }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC -shared -flto}} }
 
 class VclReferenceBase { // { dg-lto-warning "7: type 'struct VclReferenceBase' violates the C\\+\\+ One Definition Rule" }
 // { dg-lto-options {{-fPIC -shared -flto}} }
 
 class VclReferenceBase { // { dg-lto-warning "7: type 'struct VclReferenceBase' violates the C\\+\\+ One Definition Rule" }
index a692abb..a986a1f 100644 (file)
@@ -1,4 +1,6 @@
 // { dg-lto-do link }
 // { dg-lto-do link }
+// { dg-require-effective-target shared }
+// { dg-require-effective-target fpic }
 // { dg-lto-options {{-fPIC -shared -flto}} }
 
 class VclReferenceBase { // { dg-lto-warning "7: type 'struct VclReferenceBase' violates the C\\+\\+ One Definition Rule" }
 // { dg-lto-options {{-fPIC -shared -flto}} }
 
 class VclReferenceBase { // { dg-lto-warning "7: type 'struct VclReferenceBase' violates the C\\+\\+ One Definition Rule" }