This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48929] [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 4 Jun 2011 13:02:30 +0000
- Subject: [Bug tree-optimization/48929] [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining
- Auto-submitted: auto-generated
- References: <bug-48929-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48929
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-06-04 13:02:28 UTC ---
Created attachment 24428
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24428
Pack I am testing
The problem is that the code assumes transitivity in edge predicates, while
this is broken by bug in remap_edge_predicates. When inlining function F that
has predicate P and F contains edge with no predicates, the edge should be
remapped to have predicate P.
Regtesting/bootstrapping the patch and will commit it if it passes.