From 83bfaab7d991c8bf3f55438748fd89c0cd1d62c2 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 3 Mar 2010 16:46:27 +0000 Subject: [PATCH] builtin-unreachable.c: Don't expect stack adjustments to not be present on machines that align the... * gcc.target/i386/builtin-unreachable.c: Don't expect stack adjustments to not be present on machines that align the stack to more than 4 bytes and don't have a red zone yet as that is an unimplemented optimization. From-SVN: r157197 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/i386/builtin-unreachable.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b8e0ee7dd8d..037f0ad8102 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2010-03-03 Mike Stump + + * gcc.target/i386/builtin-unreachable.c: Don't expect stack + adjustments to not be present on machines that align the stack to + more than 4 bytes and don't have a red zone yet as that is an + unimplemented optimization. + 2010-03-03 Janus Weil PR fortran/43169 diff --git a/gcc/testsuite/gcc.target/i386/builtin-unreachable.c b/gcc/testsuite/gcc.target/i386/builtin-unreachable.c index 802cf16d39a..85e81f04fb7 100644 --- a/gcc/testsuite/gcc.target/i386/builtin-unreachable.c +++ b/gcc/testsuite/gcc.target/i386/builtin-unreachable.c @@ -9,5 +9,5 @@ int h (char *p) __builtin_unreachable (); return p ? 1 : 0; } -/* { dg-final { scan-assembler-not "%e\[bs\]p" } } */ +/* { dg-final { scan-assembler-not "%e\[bs\]p" { target { ! *-*-darwin* } } } } */ /* { dg-final { scan-assembler-not "\[\\t \]+j" } } */ -- 2.11.4.GIT