This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/42889] [4.5 Regression] "-fcompare-debug failure (length)" with "-O1 -fgcse"



------- Comment #10 from steven at gcc dot gnu dot org  2010-01-28 13:53 -------
The patch of comment #9 is a hack that doesn't solve anything. There are loads
of other passes that may inadvertedly trigger a fast DCE if only a DEBUG_INSN
is modified and needs to be rescanned.

IMHO the only "proper" fix would be to teach DF not to run DCE (and any other
DF-problem other than scan) if only DEBUG_INSNs are modified.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42889


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]