This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Fix PR63354
- From: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: gcc-patches at gcc dot gnu dot org, dje dot gcc at gmail dot com, anton at samba dot org
- Date: Thu, 18 Feb 2016 15:19:08 -0600
- Subject: Re: [PATCH, rs6000] Fix PR63354
- Authentication-results: sourceware.org; auth=none
- References: <1453394918 dot 22933 dot 3 dot camel at gnopaine> <87twll4lwi dot fsf at linux-m68k dot org>
Hi Andreas,
Sorry I haven't responded sooner; I was on vacation and have been
unpiling things since then. The test case had already been updated
since the patch you cited, adding
/* { dg-require-effective-target powerpc64 } */
Is this the version you're testing with?
Thanks,
Bill
On Sat, 2016-02-06 at 21:35 +0100, Andreas Schwab wrote:
> 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.
>