From: Jeff Law Date: Mon, 6 Nov 2017 22:44:39 +0000 (-0700) Subject: stack-check-12.c: Revert to initial version. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53d855e09df135ea735178521cc7c4cfbfb8a485;p=gcc.git stack-check-12.c: Revert to initial version. * gcc.target/i386/stack-check-12.c: Revert to initial version. Then.. Add -fomit-frame-pointer. From-SVN: r254479 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c3a197422e8..6403283dafa 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-11-06 Jeff Law + + * gcc.target/i386/stack-check-12.c: Revert to initial version. Then.. + Add -fomit-frame-pointer. + 2017-11-06 Carl Love * gcc.target/powerpc/builtins-revb-runnable.c: New runnable test file. 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 } } } }*/