target-supports.exp (get_compiler_messages): Support optional arguments, the fourth...
authorHans-Peter Nilsson <hp@axis.com>
Wed, 6 Apr 2005 23:27:11 +0000 (23:27 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 6 Apr 2005 23:27:11 +0000 (23:27 +0000)
commitb6e3f5722e7fdc94973814996fadbbb5d38c0970
treefb73a1d0bbafe5023c88e96818257220d57a06a8
parent070e396943c58c4e0f9fc01395ba9b4679ebb0f3
target-supports.exp (get_compiler_messages): Support optional arguments, the fourth being compiler options.

* lib/target-supports.exp (get_compiler_messages): Support
optional arguments, the fourth being compiler options.
(check_effective_target_fpic): New proc.
* gcc.dg/20050321-2.c: Restrict to target fpic.

From-SVN: r97763
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp