OSDN Git Service

PR rtl-optimization/51978
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jan 2012 15:52:55 +0000 (15:52 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jan 2012 15:52:55 +0000 (15:52 +0000)
commit7715a41050dc1dc80f6712bc10507bf2fe199f16
tree85f3a6e8499e73b6181e100a0058dbddd4b710ca
parentb74338cfc4a09d8f37d81bd9df305cd0729e9f91
PR rtl-optimization/51978
* ree.c (make_defs_and_copies_lists): Change set_pat type
to const_rtx.
(combine_reaching_defs): Likewise.
(struct re_info): Remove.
(add_removable_extension): Remove x and data arguments,
add insn, insn_list and def_map.  Use the arguments directly
instead of using struct re_info.
(find_removable_extensions): Don't call add_removable_extension
through note_stores, instead just call it with single_set
result if non-NULL.
(find_and_remove_re): Pass curr_cand->expr instead of
PATTERN (curr_cand->insn) as set_pat argument to
combine_reaching_defs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183567 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ree.c