PR92090: Fix part of testcase failures by r276469
authorXiong Hu Luo <luoxhu@linux.ibm.com>
Wed, 6 Nov 2019 03:36:46 +0000 (03:36 +0000)
committerXiong Hu Luo <luoxhu@gcc.gnu.org>
Wed, 6 Nov 2019 03:36:46 +0000 (03:36 +0000)
-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  <luoxhu@linux.ibm.com>

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr72804.c
gcc/testsuite/gcc.target/powerpc/pr79439-1.c
gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c

index 6b5a444..6e4820f 100644 (file)
@@ -1,3 +1,11 @@
+2019-11-06  Xiong Hu Luo  <luoxhu@linux.ibm.com>
+
+       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  <msebor@redhat.com>
 
        PR tree-optimization/92373
index b83b635..0fc3df1 100644 (file)
@@ -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
index 5732a23..539c96f 100644 (file)
@@ -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
index 5d31309..0780b01 100644 (file)
@@ -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.  */