[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 f8a9536..d9921e6 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 f3db5dc..69697d8 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 8a631f0..d3e2c80 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 4faab2b..11218e0 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* } } */