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:
parent
59ec491477
commit
4e7cbff5c2
|
@ -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.
|
||||
|
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in New Issue