This fixes light fallout from recent changes in our loop optimizer. The tests in question want to look at the codegen for the loop and thus turning them into mem* calls isn't helpful.
Easiest thing to do is just disable loop distribution. COmmitted to the trunk. Jeff
* testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c: Disable loop distribution. diff --git a/gcc/testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c b/gcc/testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c index 541749750e0..f814d7ac940 100644 --- a/gcc/testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c +++ b/gcc/testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c @@ -1,7 +1,7 @@ /* PR target/50749: Verify that pre-decrement addressing is generated inside a loop. */ /* { dg-do compile } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -fno-tree-loop-distribute-patterns" } */ /* { dg-final { scan-assembler-times "mov.b\tr\[0-9]\+,@-r\[0-9]\+" 1 } } */ /* { dg-final { scan-assembler-times "mov.w\tr\[0-9]\+,@-r\[0-9]\+" 1 } } */ /* { dg-final { scan-assembler-times "mov.l\tr\[0-9]\+,@-r\[0-9]\+" 1 } } */