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 6c11b84797eee9de3b1042923ec4910bd96f4ec3..004af237dd33201dd45941cac0f07f3a534f9417 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 a254dd03586b8f79529e318908216993bcd62ff8..734ce86e9b8fb562918bc13bf3db7269362e3bf8 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 {};