This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Fix PR63354
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, dje dot gcc at gmail dot com, anton at samba dot org
- Date: Sat, 06 Feb 2016 21:35:41 +0100
- Subject: Re: [PATCH, rs6000] Fix PR63354
- Authentication-results: sourceware.org; auth=none
- References: <1453394918 dot 22933 dot 3 dot camel at gnopaine>
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."