From b26e3fc277ea869668b129563f9276caace5e5d9 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 31 Jul 2013 18:33:50 +0000 Subject: [PATCH] mips.exp (mips-dg-options): Test for mabicalls rather than addressing!=absolute when... gcc/testsuite/ * gcc.target/mips/mips.exp (mips-dg-options): Test for mabicalls rather than addressing!=absolute when deciding how to handle MIPS16 when the test forces an ABI. From-SVN: r201380 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/mips/mips.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 905518d168d..6a02f1b70e4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-07-31 Richard Sandiford + + * gcc.target/mips/mips.exp (mips-dg-options): Test for mabicalls + rather than addressing!=absolute when deciding how to handle MIPS16 + when the test forces an ABI. + 2013-07-30 Paolo Carlini PR c++/57673 diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp index f648f073659..1f0d0d6223f 100644 --- a/gcc/testsuite/gcc.target/mips/mips.exp +++ b/gcc/testsuite/gcc.target/mips/mips.exp @@ -1164,7 +1164,7 @@ proc mips-dg-options { args } { if { [mips_using_mips16_p options] && ![mips_same_option_p $abi "-mabi=32"] && ![mips_same_option_p $abi "-mabi=o64"] - && (![mips_have_option_p options "addressing=absolute"] + && ([mips_have_option_p options "-mabicalls"] || [mips_have_option_p options "-mhard-float"]) } { if { [mips_test_option_p options mips16] } { mips_make_test_option options "addressing=absolute" -- 2.30.2