[Bug tree-optimization/45656] [4.5 Regression]: gfortran.dg/forall_4.f90 -O3, wrong code with -g

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 21 15:12:00 GMT 2010



------- Comment #6 from hp at gcc dot gnu dot org  2010-09-21 15:11 -------
(In reply to comment #5)
> Created an attachment (id=21855)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21855&action=view) [edit]
> Patch that fixes the problem
> 
> cse was losing track of cc0 set/use because of intervening debug insns.  Anyone
> got a CC0 host to bootstrap-test this on?

Thanks for looking to this.  No bootstrap unfortunately, but I can
regression-test it for cris-elf, which should be sufficient.  Well, I'm quite
certain you too know exactly the steps ;-) but I guess since I have a baseline
and a setup...

Let me just suggest changing the "... == 0" to "... == NULL_RTX" in the last
part of the patch.  To incentivise, I'll test that. :)


-- 


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



More information about the Gcc-bugs mailing list