re PR ipa/64664 (ICE: tree check: expected function_decl, have <invalid tree code...
authorMartin Liska <mliska@suse.cz>
Mon, 19 Jan 2015 18:07:08 +0000 (19:07 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 19 Jan 2015 18:07:08 +0000 (18:07 +0000)
commit90190bb3ccf6809fc742f6d29459f4d30ef420e5
tree40a6bdbb63a2a7d4ca8f90fece56705f29b5b99d
parenta9b8c95973d76f5070ddbdac4a0567ea51775da9
re PR ipa/64664 (ICE: tree check: expected function_decl, have <invalid tree code> in opts_for_fn, at tree.h:4706)

Fix PR64664.

        PR ipa/64664
* ipa-icf.c (sem_item_optimizer::filter_removed_items):
Handle safe potentially removed nodes during filtering.

From-SVN: r219853
gcc/ChangeLog
gcc/ipa-icf.c