This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/51505] [4.5/4.6/4.7 Regression] ICE: in form_sum, at reload.c:5349 with -O --param max-cse-insns=1
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Dec 2011 11:02:32 +0000
- Subject: [Bug rtl-optimization/51505] [4.5/4.6/4.7 Regression] ICE: in form_sum, at reload.c:5349 with -O --param max-cse-insns=1
- Auto-submitted: auto-generated
- References: <bug-51505-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51505
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gnu dot org
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-12-13 11:02:32 UTC ---
> IMHO the problem is that we have a REG_EQUAL note that refers to dead pseudos,
> perhaps DF should just remove such notes?
I'd think so. When DF adds REG_DEAD/REG_UNUSED notes, it knowingly ignores
REG_EQUAL/REG_EQUIV notes (even if you do df_set_flags (DF_EQ_NOTES) before
df_note_add_problem). That's a reasonable choice, but then it should remove
the latter notes that have become invalid because of the former.
Paolo, would this be easily doable?