calls.c (emit_library_call_value_1): Restore code clearing ECF_LIBCALL_BLOCK to ensur...
authorAdam Nemet <anemet@caviumnetworks.com>
Wed, 14 May 2008 14:27:06 +0000 (14:27 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Wed, 14 May 2008 14:27:06 +0000 (14:27 +0000)
* 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

gcc/ChangeLog
gcc/calls.c

index 1f8a441be5ae087aaff45b439e07a3242bfa1438..9b6a5d2641e5452b6698a747c9d6658640f2cc77 100644 (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>
 
index ac8398271252ac6cf748b436865fec9b4fc2cbc5..4b54503a78f21861599e14121892fbbd661a4e33 100644 (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.  */