aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-04-19 08:59:36 +0000
committerChristophe Lyon <clyon@gcc.gnu.org>2018-04-19 10:59:36 +0200
commit411a771a1761e89b7420dd94bc296d52dc8c6f5c (patch)
tree414eaaac0eca77f2ef8d97ec43328fe1e180f35a /gcc
parent6e0d40b6f82b3573b7345e0400000dbd612541b7 (diff)
downloadgcc-411a771a1761e89b7420dd94bc296d52dc8c6f5c.zip
gcc-411a771a1761e89b7420dd94bc296d52dc8c6f5c.tar.gz
gcc-411a771a1761e89b7420dd94bc296d52dc8c6f5c.tar.bz2
[testsuite] Fix tests for pr84805 and pr85405.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/g++.dg/lto/pr84805_0.C2
-rw-r--r--gcc/testsuite/g++.dg/lto/pr85405_0.C2
-rw-r--r--gcc/testsuite/g++.dg/lto/pr85405b_0.C2
4 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a5965b1..018c6b5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/g++.dg/lto/pr84805_0.C b/gcc/testsuite/g++.dg/lto/pr84805_0.C
index 3482804..eda0333f 100644
--- a/gcc/testsuite/g++.dg/lto/pr84805_0.C
+++ b/gcc/testsuite/g++.dg/lto/pr84805_0.C
@@ -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 {
diff --git a/gcc/testsuite/g++.dg/lto/pr85405_0.C b/gcc/testsuite/g++.dg/lto/pr85405_0.C
index 1a41d81..1d46ea9 100644
--- a/gcc/testsuite/g++.dg/lto/pr85405_0.C
+++ b/gcc/testsuite/g++.dg/lto/pr85405_0.C
@@ -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" }
diff --git a/gcc/testsuite/g++.dg/lto/pr85405b_0.C b/gcc/testsuite/g++.dg/lto/pr85405b_0.C
index a692abb..a986a1f 100644
--- a/gcc/testsuite/g++.dg/lto/pr85405b_0.C
+++ b/gcc/testsuite/g++.dg/lto/pr85405b_0.C
@@ -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" }