diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-07-31 18:33:50 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2013-07-31 18:33:50 +0000 |
commit | b26e3fc277ea869668b129563f9276caace5e5d9 (patch) | |
tree | b52fcb5123590768a2791f0a0129756d96704301 /gcc | |
parent | 0b57d5fa438c9f0d5c802963ef7bd4b3179a7f32 (diff) | |
download | gcc-b26e3fc277ea869668b129563f9276caace5e5d9.zip gcc-b26e3fc277ea869668b129563f9276caace5e5d9.tar.gz gcc-b26e3fc277ea869668b129563f9276caace5e5d9.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/mips/mips.exp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 905518d..6a02f1b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-07-31 Richard Sandiford <rdsandiford@googlemail.com> + + * 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 <paolo.carlini@oracle.com> PR c++/57673 diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp index f648f07..1f0d0d6 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" |