[testsuite] Require shared effective target for some lto.exp tests
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 25 Jan 2017 09:24:49 +0000 (09:24 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 25 Jan 2017 09:24:49 +0000 (09:24 +0000)
* gcc.dg/lto/pr54709_0.c: Require 'shared' effective target.
* gcc.dg/lto/pr61526_0.c: Likewise.
* gcc.dg/lto/pr64415_0.c: Likewise.

From-SVN: r244891

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr54709_0.c
gcc/testsuite/gcc.dg/lto/pr61526_0.c
gcc/testsuite/gcc.dg/lto/pr64415_0.c

index f8a9536886a480c4e592e1d5b9a5d5d7759f478d..d9921e6a4c632649269f19238d7e1e1303cbabe2 100644 (file)
@@ -1,3 +1,9 @@
+2016-01-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * gcc.dg/lto/pr54709_0.c: Require 'shared' effective target.
+       * gcc.dg/lto/pr61526_0.c: Likewise.
+       * gcc.dg/lto/pr64415_0.c: Likewise.
+
 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/79205
index f3db5dcbbc480ff71ea075f65334d305db227346..69697d89158a8c8822b82b3e0d2cc6f1f20a6524 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-lto-do link } */
 /* { dg-require-visibility "hidden" } */
 /* { dg-require-effective-target fpic } */
+/* { dg-require-effective-target shared } */
 /* { dg-extra-ld-options { -shared } } */
 /* { dg-lto-options { { -fPIC -fvisibility=hidden -flto } } } */
 
index 8a631f058ed5aa59c0e04c2ea96ff74c3998339c..d3e2c8008dbe5fdc58d0332bc2745803b09ad196 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target fpic } */
+/* { dg-require-effective-target shared } */
 /* { dg-lto-do link } */
 /* { dg-lto-options { { -fPIC -flto -flto-partition=1to1 } } } */
 /* { dg-extra-ld-options { -shared } } */
index 4faab2bac354f2ab50b4aac31627eb5f8c4656cb..11218e072859ca64e774b56ee281aa3b7f2e4229 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-require-effective-target fpic } */
+/* { dg-require-effective-target shared } */
 /* { dg-lto-options { { -O -flto -fpic } } } */
 /* { dg-extra-ld-options { -shared } } */
 /* { dg-extra-ld-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } */