Commit 1fd03c70 by Adam Nemet Committed by Adam Nemet

calls.c (emit_library_call_value_1): Restore code clearing ECF_LIBCALL_BLOCK to…

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
parent b0b14c7b
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> 2008-05-14 Olivier Hainque <hainque@adacore.com>
Nicolas Roche <roche@adacore.com> Nicolas Roche <roche@adacore.com>
......
...@@ -3495,6 +3495,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value, ...@@ -3495,6 +3495,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value,
end_sequence (); end_sequence ();
emit_insn (insns); emit_insn (insns);
} }
flags &= ~ECF_LIBCALL_BLOCK;
/* If this was a CONST function, it is now PURE since it now /* If this was a CONST function, it is now PURE since it now
reads memory. */ reads memory. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment