re PR rtl-optimization/51978 (ext-elim-1.c ICE on powerpc64)
authorJakub Jelinek <jakub@redhat.com>
Thu, 26 Jan 2012 15:52:55 +0000 (16:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 26 Jan 2012 15:52:55 +0000 (16:52 +0100)
commit089dacc5ee2d310063073050ce7099c18a1c0aa9
tree85f3a6e8499e73b6181e100a0058dbddd4b710ca
parent81bfd1977ac6a45d790a48603e38d335eb0a8a36
re PR rtl-optimization/51978 (ext-elim-1.c ICE on powerpc64)

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.

From-SVN: r183567
gcc/ChangeLog
gcc/ree.c