This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Minor fixes to stack-check-12 test
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 6 Nov 2017 15:44:58 -0700
- Subject: [committed] Minor fixes to stack-check-12 test
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A583E81DE8
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 } } } }*/