This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/83051] [8 Regression] ICE on valid code at -O3: in edge_badness, at ipa-inline.c:1024
- 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: Sun, 14 Jan 2018 11:26:21 +0000
- Subject: [Bug ipa/83051] [8 Regression] ICE on valid code at -O3: in edge_badness, at ipa-inline.c:1024
- Auto-submitted: auto-generated
- References: <bug-83051-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83051
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
The patch fixes overfow so we no longer ICE, but we probably should try to
prevent branch prediction to predict loop to iterate so many times by special
casing very deep loop nests.