Commit f7fdcdc8 by Janis Johnson Committed by Janis Johnson

target-supports.exp (check_effective_target_arm_hard_vfp_ok): Return 0 if…

target-supports.exp (check_effective_target_arm_hard_vfp_ok): Return 0 if already specifying -mfloat-abi other than hard.

	* lib/target-supports.exp (check_effective_target_arm_hard_vfp_ok):
	Return 0 if already specifying -mfloat-abi other than hard.

From-SVN: r192409
parent 0ae41159
2012-10-12 Janis Johnson <janisjo@codesourcery.com>
* lib/target-supports.exp (check_effective_target_arm_hard_vfp_ok):
Return 0 if already specifying -mfloat-abi other than hard.
2012-10-12 Joe Seymour <jseymour@codesourcery.com>
* gcc.dg/pr53060.c: Prune irrelevant warning.
......
......@@ -2053,7 +2053,8 @@ proc check_effective_target_arm_vfp_ok { } {
# options.
proc check_effective_target_arm_hard_vfp_ok { } {
if { [check_effective_target_arm32] } {
if { [check_effective_target_arm32]
&& ! [check-flags [list "" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" }]] } {
return [check_no_compiler_messages arm_hard_vfp_ok executable {
int main() { return 0;}
} "-mfpu=vfp -mfloat-abi=hard"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment