summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authornemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-14 14:27:06 +0000
committernemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-14 14:27:06 +0000
commit34a0af1037936178e2439cb2bfff65d45cba73bb (patch)
tree643f4a0c234441a53025977dfaa4f3dcb2e3bc11 /gcc
parent8ce49018f61f6ac87961c83df655a135e20cb1b5 (diff)
downloadgcc-34a0af1037936178e2439cb2bfff65d45cba73bb.tar.gz
* calls.c (emit_library_call_value_1): Restore code clearing
ECF_LIBCALL_BLOCK to ensure that we only call end_sequence once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135295 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/calls.c1
2 files changed, 7 insertions, 0 deletions
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 <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>
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. */