This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, testsuite] add/change fpic restrictions where appropriate


The attached patch changes some { target sparc*-*-* } restrictions to
{ target fpic } restrictions, since the test cases use -fPIC and contain
nothing that would restrict them to sparc targets.  It also adds an fpic
effective-target requirement to tls/opt-7.c, since that test uses -fPIC
in its compilation flags.

Tested on sparc-wrs-vxworks.  OK to commit?

-Nathan

2007-07-03  Nathan Froyd  <froydnj@codesourcery.com>

	gcc/testsuite/
	* gcc.dg/20001012-1.c: Run on all fpic-capable targets.
	* gcc.dg/20001012-2.c: Likewise.
	* gcc.dg/tls/opt-7.c: Require an fpic-capable target.
	* gcc.dg/20000222-1.c: Add -fPIC on all fpic-capable targets.

Attachment: fpic-fixes.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]