Fix PR88046 on AArch64 and Arm bare metal targets.

gcc/testsuite/ChangeLog:

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

From-SVN: r267980
This commit is contained in:
Tamar Christina 2019-01-16 17:50:38 +00:00 committed by Tamar Christina
parent 59ec491477
commit 4e7cbff5c2
2 changed files with 7 additions and 0 deletions

View 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.

View 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 {};