So I thought I'd checked in the wrong version of that test, but I had in fact checked in the *right* version. So r254455 was completely bogus.
This reverts that bogus checkin and also adds -fomit-frame-pointer to the test's options to make x86 Solaris happy. Committing to the trunk. Jeff
* gcc.target/i386/stack-check-12.c: Revert to initial version. Then.. Add -fomit-frame-pointer. diff --git a/gcc/testsuite/gcc.target/i386/stack-check-12.c b/gcc/testsuite/gcc.target/i386/stack-check-12.c index 6ae0782f10b..980416946df 100644 --- a/gcc/testsuite/gcc.target/i386/stack-check-12.c +++ b/gcc/testsuite/gcc.target/i386/stack-check-12.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fstack-clash-protection -mtune=generic" } */ +/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fomit-frame-pointer" } */ /* { dg-require-effective-target supports_stack_clash_protection } */ __attribute__ ((noreturn)) void exit (int); @@ -14,6 +14,6 @@ f (void) /* { dg-final { scan-assembler-not "or\[ql\]" } } */ /* { dg-final { scan-assembler "pushl %esi" { target ia32 } } } */ /* { dg-final { scan-assembler "popl %esi" { target ia32 } } }*/ -/* { dg-final { scan-assembler "pushq %rax" { target ! { ia32 } } } } */ -/* { dg-final { scan-assembler "popq %rax" { target ! { ia32 } } } }*/ +/* { dg-final { scan-assembler "pushq %rax" { target { ! ia32 } } } } */ +/* { dg-final { scan-assembler "popq %rax" { target { ! ia32 } } } }*/