aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2020-08-01 03:22:36 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:20:31 -0300
commitd2a02bc42bf4f16b0c2fa282c3d5469132008070 (patch)
treec80c1e554f4921aef16933bf2f5b6396079262ec
parent10bd4a837ef74e37e4b55320026dc17a3be483b8 (diff)
downloadgcc-d2a02bc42bf4f16b0c2fa282c3d5469132008070.zip
gcc-d2a02bc42bf4f16b0c2fa282c3d5469132008070.tar.gz
gcc-d2a02bc42bf4f16b0c2fa282c3d5469132008070.tar.bz2
gcc.dg/loop-8.c: Skip for mmix.
This test fails for mmix for (almost) the same reason it would fail for e.g. mipsel-elf: the end-condition of the loop tests against a register set to a constant, and that register is (one of) the "unexpected IV" moved out of the loop "without introducing a new temporary register" and making the dump contain more than one "Decided", causing a non-matching loop2 dump. The test should probably have been restricted to just the original target for which a problem was observed to be fixed. gcc/testsuite: * gcc.dg/loop-8.c: Skip for mmix.
-rw-r--r--gcc/testsuite/gcc.dg/loop-8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/loop-8.c b/gcc/testsuite/gcc.dg/loop-8.c
index 1eefccc..af317d8 100644
--- a/gcc/testsuite/gcc.dg/loop-8.c
+++ b/gcc/testsuite/gcc.dg/loop-8.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-rtl-loop2_invariant" } */
-/* { dg-skip-if "unexpected IV" { "hppa*-*-* mips*-*-* visium-*-* powerpc*-*-* riscv*-*-*" } } */
+/* { dg-skip-if "unexpected IV" { "hppa*-*-* mips*-*-* visium-*-* powerpc*-*-* riscv*-*-* mmix-*-*" } } */
/* Load immediate on condition is available from z13 on and prevents moving
the load out of the loop, so always run this test with -march=zEC12 that
does not have load immediate on condition. */