pr54680.c: Add -fno-ipa-icf option.

gcc/testsuite:
	* gcc.target/sh/pr54680.c: Add -fno-ipa-icf option.

From-SVN: r221309
This commit is contained in:
Oleg Endo 2015-03-10 08:53:05 +00:00
parent 40ff136498
commit fe7ac5039d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-03-10 Oleg Endo <olegendo@gcc.gnu.org>
* gcc.target/sh/pr54680.c: Add -fno-ipa-icf option.
2015-03-10 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/ipa/ipa-icf-36.c (dg-final): Cleanup icf ipa dump.

View File

@ -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 } } */