summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2008-05-14 14:27:06 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2008-05-14 14:27:06 +0000
commit1fd03c702134e610ffa87e5bb380606e14a6dc81 (patch)
tree643f4a0c234441a53025977dfaa4f3dcb2e3bc11 /gcc/calls.c
parentb0b14c7b87bc8456c809b7b6017c2918403350bf (diff)
downloadgcc-1fd03c702134e610ffa87e5bb380606e14a6dc81.tar.gz
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
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c1
1 files changed, 1 insertions, 0 deletions
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. */