From: Adam Nemet Date: Wed, 14 May 2008 14:27:06 +0000 (+0000) Subject: calls.c (emit_library_call_value_1): Restore code clearing ECF_LIBCALL_BLOCK to ensur... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fd03c702134e610ffa87e5bb380606e14a6dc81;p=gcc.git calls.c (emit_library_call_value_1): Restore code clearing ECF_LIBCALL_BLOCK to ensure that we only call... * calls.c (emit_library_call_value_1): Restore code clearing ECF_LIBCALL_BLOCK to ensure that we only call end_sequence once. From-SVN: r135295 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f8a441be5a..9b6a5d2641e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-05-14 Adam Nemet + + * calls.c (emit_library_call_value_1): Restore code clearing + ECF_LIBCALL_BLOCK to ensure that we only call end_sequence + once. + 2008-05-14 Olivier Hainque Nicolas Roche diff --git a/gcc/calls.c b/gcc/calls.c index ac839827125..4b54503a78f 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -3495,6 +3495,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value, end_sequence (); emit_insn (insns); } + flags &= ~ECF_LIBCALL_BLOCK; /* If this was a CONST function, it is now PURE since it now reads memory. */