From 524abb09579f8f59923c40b7ddcdc9faaad279dd Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 8 Jan 2019 22:36:21 +0100 Subject: [PATCH] re PR target/88457 (ICE: Max. number of generated reload insns per insn is achieved (90)) PR target/88457 * gcc.target/powerpc/pr88457.c: Remove -m32, -c and -mcpu=e300c3 from dg-options. Require ppc_cpu_supports_hw effective target instead of powerpc64*-*-*. From-SVN: r267739 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/powerpc/pr88457.c | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2c9fe3255b2..634111bfc14 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-01-08 Jakub Jelinek + + PR target/88457 + * gcc.target/powerpc/pr88457.c: Remove -m32, -c and -mcpu=e300c3 from + dg-options. Require ppc_cpu_supports_hw effective target instead of + powerpc64*-*-*. + 2019-01-08 Janus Weil PR fortran/88047 diff --git a/gcc/testsuite/gcc.target/powerpc/pr88457.c b/gcc/testsuite/gcc.target/powerpc/pr88457.c index 8ab2da54b6f..129405334d8 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr88457.c +++ b/gcc/testsuite/gcc.target/powerpc/pr88457.c @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc64*-*-* } } } */ -/* { dg-options "-m32 -mcpu=power7 -O1 -fexpensive-optimizations --param ira-max-conflict-table-size=0 --param max-cse-insns=3 -c -mcpu=e300c3" } */ +/* { dg-do compile } */ +/* { dg-require-effective-target ppc_cpu_supports_hw } */ +/* { dg-options "-mcpu=power7 -O1 -fexpensive-optimizations --param ira-max-conflict-table-size=0 --param max-cse-insns=3" } */ __attribute__((target_clones("cpu=power9,default"))) long mod_func (long a, long b) -- 2.30.2