MIPS creates more invariants than gcc.dg/loop-8.c expects.  There is
no way to represent what the original test was trying to verify given
the additional invariants being moved out of the loop.

Thanks,
Matthew

gcc/
        PR rtl-optimization/66669
        * gcc.dg/loop-8.c: Skip for MIPS due to extra invariants.

diff --git a/gcc/testsuite/gcc.dg/loop-8.c b/gcc/testsuite/gcc.dg/loop-8.c
index 463c5d0..8a4b209 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*-*-* visium-*-*" } { "*" } { "" } } */
+/* { dg-skip-if "unexpected IV" { "hppa*-*-* mips*-*-* visium-*-*" } { "*" } { 
"" } } */
 
 void
 f (int *a, int *b)
-- 
2.2.1


Reply via email to