Recent improvements to Ranger have optimized away some of the code in
mips/data-sym-multi-pool.c which in turn causes the test to fail as it's
looking for specific bits in the assembly output. The easiest fix here
which preserves the intent of the test is to disable VRP as done by this
patch.
Installed on the trunk,
Jeff
commit 18f0e57b9a2f1b108831fcfb25cbcc4e2de65e8e
Author: Jeff Law <jlaw@localhost.localdomain>
Date: Tue Aug 31 11:08:50 2021 -0400
Restore intent of data-sym-multi-pool test
gcc/testsuite
* gcc.target/mips/mips.exp: Add tree-vrp to mips_option_group.
* gcc.target/mips/data-sym-multi-pool.c: Add -fno-tree-vrp.
diff --git a/gcc/testsuite/gcc.target/mips/data-sym-multi-pool.c
b/gcc/testsuite/gcc.target/mips/data-sym-multi-pool.c
index 1936f5bf27e..26a622a44c9 100644
--- a/gcc/testsuite/gcc.target/mips/data-sym-multi-pool.c
+++ b/gcc/testsuite/gcc.target/mips/data-sym-multi-pool.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-mips16 -mcode-readable=yes" } */
+/* { dg-options "-mips16 -mcode-readable=yes -fno-tree-vrp" } */
/* { dg-skip-if "per-function expected output" { *-*-* } { "-flto" } { "" } }
*/
/* This testcase generates multiple constant pools within a function body. */
diff --git a/gcc/testsuite/gcc.target/mips/mips.exp
b/gcc/testsuite/gcc.target/mips/mips.exp
index 580e7c0c8f9..d4d4b90d897 100644
--- a/gcc/testsuite/gcc.target/mips/mips.exp
+++ b/gcc/testsuite/gcc.target/mips/mips.exp
@@ -333,6 +333,7 @@ foreach option {
schedule-insns2
split-wide-types
tree-vectorize
+ tree-vrp
unroll-all-loops
unroll-loops
ipa-ra