From 53d855e09df135ea735178521cc7c4cfbfb8a485 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 6 Nov 2017 15:44:39 -0700 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/stack-check-12.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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 } } } }*/ -- 2.30.2