Blame SOURCES/gcc48-rh1469697-23.patch

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