This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix heisenbug in combine.c
- From: Eric Christopher <echristo at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 29 Jun 2004 20:40:19 -0700
- Subject: Re: Fix heisenbug in combine.c
- References: <87fz8dyghz.fsf@taltos.codesourcery.com>
> There was no range check on the access to the global_regs[] array.
> Accordingly, whenever we hit this point with a pseudo, combine would
> randomly decide not to delete a dead insn. One of my IMA patches
> provoked this into causing bootstrap comparison failures - frankly I'm
> surprised no one noticed earlier.
>
This may be what was causing bootstrap failures with my last combine
patch on 3.4 and 3.3. Can you check please?
> Finding this was an incredible pain, but fixing it is easy. Will
> commit if i686-linux bootstrap succeeds.
My apologies :)
-eric
--
Eric Christopher <echristo@redhat.com>