Commit 4e7cbff5 by Tamar Christina Committed by Tamar Christina

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
parent 59ec4914
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.
......
// { 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 {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment