aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fortune <matthew.fortune@imgtec.com>2015-08-17 22:35:19 +0000
committerMatthew Fortune <mpf@gcc.gnu.org>2015-08-17 22:35:19 +0000
commitbca0c98129de07fd1a8d8cc459a27a20585d7660 (patch)
tree2f773ffb4fd208123bb248dc869aa52502492799
parent5916cfd01b73646934abf404de8528c11b842070 (diff)
downloadgcc-bca0c98129de07fd1a8d8cc459a27a20585d7660.zip
gcc-bca0c98129de07fd1a8d8cc459a27a20585d7660.tar.gz
gcc-bca0c98129de07fd1a8d8cc459a27a20585d7660.tar.bz2
mips.exp: Redefine isa variable which is referenced in later code.
gcc/testsuite/ * gcc.target/mips/mips.exp (mips-dg-options): Redefine isa which is used in later code. From-SVN: r226957
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/mips/mips.exp1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2f1ba25..0df0c54 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-17 Matthew Fortune <matthew.fortune@imgtec.com>
+
+ * gcc.target/mips/mips.exp (mips-dg-options): Redefine isa
+ which is used in later code.
+
2015-08-17 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67216
diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp
index b3617e4..55e4223 100644
--- a/gcc/testsuite/gcc.target/mips/mips.exp
+++ b/gcc/testsuite/gcc.target/mips/mips.exp
@@ -1190,6 +1190,7 @@ proc mips-dg-options { args } {
# Re-calculate the isa_rev for use in the abi handling code below
set arch [mips_option options arch]
+ set isa [mips_arch_info $arch isa]
set isa_rev [mips_arch_info $arch isa_rev]
# Set an appropriate ABI, handling dependencies between the pre-abi