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: "abel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Jan 2012 07:45:42 +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
Andrey Belevantsev <abel at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #26353|0 |1
is obsolete| |
--- Comment #7 from Andrey Belevantsev <abel at gcc dot gnu.org> 2012-01-18 07:45:42 UTC ---
Created attachment 26359
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26359
Updated patch
How about this version then? We need to count the number of EQ_USES to
allocate the temp vector on stack. Unless we want a helper that would utilize
the knowledge of how df_ref_remove works.
Is it fine that we mark bb as dirty as a result of calling df_ref_remove in the
middle of note computation?
Note also that for the testcase we find that register 68 is dead (which is
true) and that is the reason for note removal, not that register 70 is dead.