From: Paolo Bonzini Date: Wed, 18 Aug 2010 13:35:46 +0000 (+0000) Subject: Expand pending pops before trying the optab. X-Git-Tag: releases/gcc-4.6.0~4953 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5f5fa2da0a140f132a7d69a715160698272de64;p=thirdparty%2Fgcc.git Expand pending pops before trying the optab. 2010-08-18 Paolo Bonzini PR middle-end/45292 * optabs.c (expand_bool_compare_and_swap): Expand pending pops before trying the optab. From-SVN: r163339 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 124b3cb38c38..dfe7de21ae0c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-08-18 Paolo Bonzini + + PR middle-end/45292 + * optabs.c (expand_bool_compare_and_swap): Expand pending + pops before trying the optab. + 2010-08-18 Yao Qi PR target/45094 diff --git a/gcc/optabs.c b/gcc/optabs.c index 1fcbedc0089e..5d095c1a9b99 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -6908,6 +6908,7 @@ expand_bool_compare_and_swap (rtx mem, rtx old_val, rtx new_val, rtx target) if (icode == CODE_FOR_nothing) return NULL_RTX; + do_pending_stack_adjust (); do { start_sequence ();