Blame SOURCES/gcc48-rh1469697-23.patch

001c85
diff --git a/gcc/testsuite/gcc.target/i386/stack-check-17.c b/gcc/testsuite/gcc.target/i386/stack-check-17.c
001c85
index d2ef83b..dcd2930 100644
001c85
--- a/gcc/testsuite/gcc.target/i386/stack-check-17.c
001c85
+++ b/gcc/testsuite/gcc.target/i386/stack-check-17.c
001c85
@@ -29,9 +29,11 @@ f3 (void)
001c85
    into either a stack slot or callee saved register.  The former
001c85
    would be rather dumb.  So assume it does not happen.
001c85
 
001c85
-   So search for two/four pushes for the callee register saves/argument
001c85
-   pushes and no pops (since the function has no reachable epilogue).  */
001c85
-/* { dg-final { scan-assembler-times "push\[ql\]" 2 { target { ! ia32 } } } }  */
001c85
-/* { dg-final { scan-assembler-times "push\[ql\]" 4 { target { ia32 } } } }  */
001c85
+   So search for two pushes for the callee register saves pushes
001c85
+   and no pops (since the function has no reachable epilogue). 
001c85
+
001c85
+   This is slightly different than upstream because the code we
001c85
+   generate for argument setup is slightly different.  */
001c85
+/* { dg-final { scan-assembler-times "push\[ql\]" 2 } }  */
001c85
 /* { dg-final { scan-assembler-not "pop" } } */
001c85
 
001c85
diff --git a/gcc/testsuite/gcc.target/i386/stack-check-18.c b/gcc/testsuite/gcc.target/i386/stack-check-18.c
001c85
index 6dbff44..1638f77 100644
001c85
--- a/gcc/testsuite/gcc.target/i386/stack-check-18.c
001c85
+++ b/gcc/testsuite/gcc.target/i386/stack-check-18.c
001c85
@@ -1,6 +1,7 @@
001c85
 /* { dg-do compile } */
001c85
 /* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand" } */
001c85
 /* { dg-require-effective-target supports_stack_clash_protection } */
001c85
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
001c85
 
001c85
 int f1 (char *);
001c85
 
001c85
diff --git a/gcc/testsuite/gcc.target/i386/stack-check-19.c b/gcc/testsuite/gcc.target/i386/stack-check-19.c
001c85
index b92c126..c341801 100644
001c85
--- a/gcc/testsuite/gcc.target/i386/stack-check-19.c
001c85
+++ b/gcc/testsuite/gcc.target/i386/stack-check-19.c
001c85
@@ -1,6 +1,7 @@
001c85
 /* { dg-do compile } */
001c85
 /* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand" } */
001c85
 /* { dg-require-effective-target supports_stack_clash_protection } */
001c85
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
001c85
 
001c85
 int f1 (char *);
001c85
 
001c85
@@ -24,6 +25,6 @@ f2 (const int size)
001c85
    in the probe loop and one that bypasses the residual probe.
001c85
 
001c85
    These will all be equality tests.  */
001c85
-/* { dg-final { scan-assembler-times "(\?:je|jne)" 3 } } */
001c85
+/* { dg-final { scan-assembler-times "(\?:jmp|je|jne)" 3 } } */
001c85
 
001c85