From 3253d4f0266fb7aa4e70cf6afcfac9b690cfed4a Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 28 May 2019 07:16:17 -0600 Subject: [PATCH] pr50749-qihisi-predec-3.c: Disable loop distribution. * testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c: Disable loop distribution. From-SVN: r271701 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f1acd6dbc7a..cffbfb9d297 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-05-28 Jeff Law + + * testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c: Disable + loop distribution. + 2019-05-28 Segher Boessenkool * gcc.target/powerpc/p9-dimode1.c: Don't restrict to -m64. Check for 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 } } */ -- 2.30.2