This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Minor fixes to stack-check-12 test


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 } } } }*/
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]