This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/64664] [5 Regression] ICE: tree check: expected function_decl, have <invalid tree code> in opts_for_fn, at tree.h:4706
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Jan 2015 18:07:41 +0000
- Subject: [Bug ipa/64664] [5 Regression] ICE: tree check: expected function_decl, have <invalid tree code> in opts_for_fn, at tree.h:4706
- Auto-submitted: auto-generated
- References: <bug-64664-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64664
--- Comment #2 from Martin LiÅka <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Jan 19 18:07:08 2015
New Revision: 219853
URL: https://gcc.gnu.org/viewcvs?rev=219853&root=gcc&view=rev
Log:
Fix PR64664.
PR ipa/64664
* ipa-icf.c (sem_item_optimizer::filter_removed_items):
Handle safe potentially removed nodes during filtering.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-icf.c