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]

[PATCH] Fix PR middle-end/19221, insn not in BB


The problem here is that we use the old style way of inserting rtl
instructions at the beginning of the function (using get_insns).  This
patch changes to use the new way and correct way of inserts instructions
at the beginning of the function, using entry_of_function.

OK? Bootstraped and tested on ppc-darwin.

ChangeLog:
	* function.c (get_arg_pointer_save_area): Use entry_of_function
	instead of get_insns.

Attachment: temp.diff.txt
Description: Text document


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