[testsuite, committed] require fpic support for g++.dg/ipa/pr64146.C
Sandra Loosemore
sandra@codesourcery.com
Thu Mar 12 01:46:00 GMT 2015
I noticed that g++.dg/ipa/pr64146.C was FAILing on nios2-elf because
this target doesn't support -fpic; the ABI defines the PIC relocations
for GNU/Linux only, so -fpic gives a "sorry" in the bare-metal toolchain.
From reading the PR, my understanding is that the bug is specific to
PIC and the behavior being tested for in the testcase is also specific
to PIC, so I think the attached patch to skip the test if PIC isn't
supported qualifies as obvious, and I've checked it in.
-Sandra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite.log
Type: text/x-log
Size: 120 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150312/5d98f2ed/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite.patch
Type: text/x-patch
Size: 427 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150312/5d98f2ed/attachment-0001.bin>
More information about the Gcc-patches
mailing list