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 <wschm...@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. >