This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000] Fix PR63354


Bill Schmidt <wschmidt@linux.vnet.ibm.com> writes:

> Index: gcc/testsuite/gcc.target/powerpc/pr63354.c
> ===================================================================
> --- gcc/testsuite/gcc.target/powerpc/pr63354.c	(revision 0)
> +++ gcc/testsuite/gcc.target/powerpc/pr63354.c	(working copy)
> @@ -0,0 +1,11 @@
> +/* Verify that we don't stack a frame for leaf functions when using
> +   -pg -mprofile-kernel.  */
> +
> +/* { dg-do compile { target { powerpc64*-*-* } } } */
> +/* { dg-options "-O2 -pg -mprofile-kernel" } */
> +/* { dg-final { scan-assembler-not "mtlr" } } */
> +
> +int foo(void)
> +{
> +  return 1;
> +}

With -m32:

FAIL: gcc.target/powerpc/pr63354.c (test for excess errors)
Excess errors:
/daten/gcc/gcc-20160205/gcc/testsuite/gcc.target/powerpc/pr63354.c:1:0: error: -mprofile-kernel not supported in this configuration

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]