This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/42889] [4.5 Regression] "-fcompare-debug failure (length)" with "-O1 -fgcse"
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2010 17:23:34 -0000
- Subject: [Bug rtl-optimization/42889] [4.5 Regression] "-fcompare-debug failure (length)" with "-O1 -fgcse"
- References: <bug-42889-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from jakub at gcc dot gnu dot org 2010-01-28 17:23 -------
Created an attachment (id=19743)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19743&action=view)
gcc45-pr42889.patch
Patch that does that.
BTW, df_ref_create and df_ref_remove guard the df_set_bb_dirty calls with
!DEBUG_INSN_P tests, so perhaps we could just avoid calling df_set_bb_dirty
instead of calling df_set_bb_dirty_nonlr, or on the other side we could call
this new function even in df_ref_create/df_ref_remove.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19739|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42889