Commit 8adf3cc4 by Xiong Hu Luo Committed by Xiong Hu Luo

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  <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
parent 91eb5fa8
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> 2019-11-05 Martin Sebor <msebor@redhat.com>
PR tree-optimization/92373 PR tree-optimization/92373
......
/* { dg-do compile { target { lp64 } } } */ /* { dg-do compile { target { lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { 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" } */ /* { dg-options "-O2 -mvsx" } */
__int128_t __int128_t
......
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ /* { 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 /* 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 -fpic is used. The recursive call should call the local alias. The
......
/* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target powerpc_vsx_ok } */ /* { 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 /* Test simple extract/insert/slat operations. Make sure all types are
supported with various options. */ supported with various options. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment