From: Xiong Hu Luo Date: Wed, 6 Nov 2019 03:36:46 +0000 (+0000) Subject: PR92090: Fix part of testcase failures by r276469 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8adf3cc4c30c0bc62a94fe8f13d5e97ee086e387;p=gcc.git PR92090: Fix part of testcase failures by r276469 -finline-functions is enabled by default for O2 since r276469, update the test cases with -fno-inline-functions. c11-atomic-exec-5.c stills hit ICE of LRA on BE systems in PR92090. This commit is NOT a fix for the bug and so it must NOT be closed. gcc/testsuite/ChangeLog: 2019-11-06 Xiong Hu Luo PR92090 * gcc.target/powerpc/pr72804.c: Add -fno-inline-functions --param max-inline-insns-single-O2=200. * gcc.target/powerpc/pr79439-1.c: Add -fno-inline-functions. * gcc.target/powerpc/vsx-builtin-7.c: Likewise. From-SVN: r277872 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6b5a444ee8f..6e4820fb86e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2019-11-06 Xiong Hu Luo + + PR92090 + * gcc.target/powerpc/pr72804.c: Add -fno-inline-functions --param + max-inline-insns-single-O2=200. + * gcc.target/powerpc/pr79439-1.c: Add -fno-inline-functions. + * gcc.target/powerpc/vsx-builtin-7.c: Likewise. + 2019-11-05 Martin Sebor PR tree-optimization/92373 diff --git a/gcc/testsuite/gcc.target/powerpc/pr72804.c b/gcc/testsuite/gcc.target/powerpc/pr72804.c index b83b6350d75..0fc3df1d89b 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr72804.c +++ b/gcc/testsuite/gcc.target/powerpc/pr72804.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { lp64 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-require-effective-target powerpc_vsx_ok -fno-inline-functions --param max-inline-insns-single-O2=200 } */ /* { dg-options "-O2 -mvsx" } */ __int128_t diff --git a/gcc/testsuite/gcc.target/powerpc/pr79439-1.c b/gcc/testsuite/gcc.target/powerpc/pr79439-1.c index 5732a236c8e..539c96f571e 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79439-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79439-1.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ -/* { dg-options "-O2 -fpic -fno-reorder-blocks" } */ +/* { dg-options "-O2 -fpic -fno-reorder-blocks -fno-inline-functions" } */ /* On the Linux 64-bit ABIs, we eliminate NOP in the 'rec' call even if -fpic is used. The recursive call should call the local alias. The diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c index 5d31309f272..0780b01ffab 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ -/* { dg-options "-O2 -mdejagnu-cpu=power7" } */ +/* { dg-options "-O2 -mdejagnu-cpu=power7 -fno-inline-functions" } */ /* Test simple extract/insert/slat operations. Make sure all types are supported with various options. */