From 15d23f2b5d2ed2f8a711935d3148c21405bb41ce Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 14 Apr 1995 00:26:46 +0000 Subject: [PATCH] (gen_sequence): If the insn has a non-null CALL_INSN_FUNCTION_USAGE field... (gen_sequence): If the insn has a non-null CALL_INSN_FUNCTION_USAGE field, output it as a sequence so the latter isn't discarded. From-SVN: r9378 --- gcc/emit-rtl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 48c61ddd693..d553e89f77c 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3043,7 +3043,9 @@ gen_sequence () if (len == 1 && (GET_CODE (first_insn) == INSN || GET_CODE (first_insn) == JUMP_INSN - || GET_CODE (first_insn) == CALL_INSN)) + /* Don't discard the call usage field. */ + || (GET_CODE (first_insn) == CALL_INSN + && CALL_INSN_FUNCTION_USAGE (first_insn) == NULL_RTX))) return PATTERN (first_insn); /* Put them in a vector. See if we already have a SEQUENCE of the -- 2.30.2