[committed] [PATCH][GCC] Fix PR88046 testcase.

Tamar Christina Tamar.Christina@arm.com
Wed Jan 16 17:51:00 GMT 2019


Hi All,

The test tries to link with -shared and compile with -fPIC
without checking to see if the target actually supports this.

This patch adds effective-target requirements for fpic and shared.

Regtested on aarch64-none-elf and x86_64-unknown-linux-gnu and no
issues.

Committed under the GCC obvious rules.

Thanks,
Tamar

gcc/testsuite/ChangeLog:

2019-01-16  Tamar Christina  <tamar.christina@arm.com>

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

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb10592.patch
Type: text/x-diff
Size: 511 bytes
Desc: rb10592.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190116/c5926ef9/attachment.bin>


More information about the Gcc-patches mailing list