From fe7ac5039d8719441ef583687538aaad48c92ac2 Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Tue, 10 Mar 2015 08:53:05 +0000 Subject: [PATCH] pr54680.c: Add -fno-ipa-icf option. gcc/testsuite: * gcc.target/sh/pr54680.c: Add -fno-ipa-icf option. From-SVN: r221309 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/sh/pr54680.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5c9d5bbd327..c53f5531b1d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-03-10 Oleg Endo + + * gcc.target/sh/pr54680.c: Add -fno-ipa-icf option. + 2015-03-10 Uros Bizjak * gcc.dg/ipa/ipa-icf-36.c (dg-final): Cleanup icf ipa dump. diff --git a/gcc/testsuite/gcc.target/sh/pr54680.c b/gcc/testsuite/gcc.target/sh/pr54680.c index 8c5d5e18c71..807a53a10b4 100644 --- a/gcc/testsuite/gcc.target/sh/pr54680.c +++ b/gcc/testsuite/gcc.target/sh/pr54680.c @@ -2,7 +2,7 @@ to int. Notice that we can't count just "lds" insns because mode switches use "lds.l". */ /* { dg-do compile } */ -/* { dg-options "-O2 -mfsca -funsafe-math-optimizations" } */ +/* { dg-options "-O2 -mfsca -funsafe-math-optimizations -fno-ipa-icf" } */ /* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2*" "-m3*" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } } */ /* { dg-final { scan-assembler-times "fsca" 7 } } */ /* { dg-final { scan-assembler-times "shad" 1 } } */ -- 2.30.2