Fix PR88046 on AArch64 and Arm bare metal targets.
authorTamar Christina <tamar.christina@arm.com>
Wed, 16 Jan 2019 17:50:38 +0000 (17:50 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Wed, 16 Jan 2019 17:50:38 +0000 (17:50 +0000)
gcc/testsuite/ChangeLog:

PR debug/88046
* g++.dg/lto/pr88046_0.C: Check for shared and fPIC.

From-SVN: r267980

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr88046_0.C

index 6c11b84..004af23 100644 (file)
@@ -1,3 +1,8 @@
+2019-01-16  Tamar Christina  <tamar.christina@arm.com>
+
+       PR debug/88046
+       * g++.dg/lto/pr88046_0.C: Check for shared and fPIC.
+
 2019-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * g++.dg/other/pr33558.C: Test location too.
index a254dd0..734ce86 100644 (file)
@@ -1,5 +1,7 @@
 // { dg-lto-do link }
 // { dg-lto-options { { -O2 -fPIC -flto } } }
+// { dg-require-effective-target shared }
+// { dg-require-effective-target fpic }
 // { dg-extra-ld-options "-shared -g" }
 
 class a {};