Hi, On Thu, 2016-01-21 at 21:21 -0600, Bill Schmidt wrote: > The testcase will need a slight adjustment, as currently it fails on > powerpc64 with -m32 testing. Working on a fix. > > Bill >
This patch adjusts the gcc.target/powerpc/pr63354 test to require 64-bit code generation, and also restricts the test to Linux targets, as this is necessary for using -mprofile-kernel. Tested on powerpc64-unknown-linux-gnu configured with --with-cpu=power7 and testing with -m32; the test is now correctly skipped there. Is this okay for trunk? Thanks, Bill 2016-01-22 Bill Schmidt <wschm...@linux.vnet.ibm.com> * gcc.target/powerpc/pr63354.c: Restrict to Linux targets with 64-bit support. Index: gcc/testsuite/gcc.target/powerpc/pr63354.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/pr63354.c (revision 232716) +++ gcc/testsuite/gcc.target/powerpc/pr63354.c (working copy) @@ -1,8 +1,9 @@ /* Verify that we don't stack a frame for leaf functions when using -pg -mprofile-kernel. */ -/* { dg-do compile { target { powerpc64*-*-* } } } */ +/* { dg-do compile { target { powerpc64*-linux-* } } } */ /* { dg-options "-O2 -pg -mprofile-kernel" } */ +/* { dg-require-effective-target powerpc64 } */ /* { dg-final { scan-assembler-not "mtlr" } } */ int foo(void)