[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 a5965b1123db04ed64b3438f219dc4942f43485a..018c6b54d3d2b9b319b86ff52adfed83d2866926 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
index 34828043d2e67707371ac2e468a32599a65f0ff3..eda0333fbb893e99437ac4ede769428f97175b48 100644 (file)
@@ -1,4 +1,6 @@
 // { 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 {
index 1a41d81099c5aa964d00078f235ea2e2eeb12702..1d46ea94ba538a062084f86497023e61a9d534f5 100644 (file)
@@ -1,4 +1,6 @@
 // { 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" }
index a692abb77156c449511416e44e7aa549d53eaa20..a986a1f6f742b993771bb9d4b2534fefa9e66c00 100644 (file)
@@ -1,4 +1,6 @@
 // { 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" }