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
This commit is contained in:
Adam Nemet 2008-05-14 14:27:06 +00:00 committed by Adam Nemet
parent b0b14c7b87
commit 1fd03c7021
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-05-14 Adam Nemet <anemet@caviumnetworks.com>
* 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 <hainque@adacore.com>
Nicolas Roche <roche@adacore.com>

View File

@ -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. */