]> git.ipfire.org Git - thirdparty/gcc.git/commit
Eliminate the checked cast from get_call_reg_set_usage
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2014 14:13:28 +0000 (14:13 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2014 14:13:28 +0000 (14:13 +0000)
commita5412d60c609db239430746e571acd32cd3a0ef1
tree7b7352545d44596f0dda741d3a58b1f06d4f608c
parentcdf962b7803b6f7479a00f3a71c0a71416e5f251
Eliminate the checked cast from get_call_reg_set_usage

gcc/ChangeLog
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* caller-save.c (setup_save_areas): Strengthen local "insn" from
rtx to rtx_insn *.
* final.c (get_call_reg_set_usage): Likewise for first param,
eliminating a checked cast.
* regs.h (get_call_reg_set_usage): Likewise for first param.
* resource.c (mark_set_resources): Introduce local rtx_call_insn *
"call_insn" for the case of a MARK_SRC_DEST_CALL via a checked
cast, replacing references to "x" with "call_insn" where
appropriate.
(mark_target_live_regs): Strengthen local "real_insn" from rtx to
rtx_insn *, adding a checked cast.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214962 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/caller-save.c
gcc/final.c
gcc/regs.h
gcc/resource.c