+2016-11-04 Toma Tobacu <toma.tobacu@imgtec.com>
+
+ * gcc.target/mips/mips.exp (mips-dg-options): Downgrade to R5
+ for -mbranch-likely, infer -mno-branch-likely for R6.
+
2016-11-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR c++/71973
|| [mips_have_test_option_p options "-mpaired-single"]
|| [mips_have_test_option_p options "-mnan=legacy"]
|| [mips_have_test_option_p options "-mabs=legacy"]
- || [mips_have_test_option_p options "!HAS_LSA"]) } {
+ || [mips_have_test_option_p options "!HAS_LSA"]
+ || [mips_have_test_option_p options "-mbranch-likely"]) } {
if { $gp_size == 32 } {
mips_make_test_option options "-mips32r5"
} else {
mips_make_test_option options "-mno-paired-single"
mips_make_test_option options "-mnan=2008"
mips_make_test_option options "-mabs=2008"
+ mips_make_test_option options "-mno-branch-likely"
}
if { [regexp {^-march=(octeon|loongson)} $arch] } {
mips_make_test_option options "-mno-micromips"