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