This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 020/236] Return rtx_insn from get_insns/get_last_insn


On 08/06/14 11:19, David Malcolm wrote:
Ultimately, the underlying fields should become rtx_insn *, but for now we
can do this with a checked cast.

Note to self:
   config/m32c/m32c.c: m32c_leaf_function_p directly manipulates
   x_first_insn and x_last_insn, using sequence_stack.

gcc/
	* emit-rtl.h (get_insns): Strengthen return type from rtx to
	rtx_insn *, adding a checked cast for now.
	(get_last_insn): Likewise.
OK.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]