This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix PR 20606 and PR 24069



On Oct 3, 2005, at 5:40 AM, Andrew Haley wrote:


Andrew Pinski writes:
The problem here is that we have an indirect jump to a label.
JUMP_LABEL (insn) will be NULL but we will have a reg note REG_LABEL
for the label.  This patch fixes the problem by using that reg note.

Ahh, thanks for getting to the bottom of this one. Is this bug on the 4.0 branch?

Yes this bug is on 4.0 branch too. It has been a bug in GCC for a long time too. I don't understand how we nobody else noticed this bug for a long time since: 2001-01-07 Alexandre Oliva <aoliva@redhat.com>

Since this is a latent bug since then, it is a regression from 2.95.3.

Thanks,
Andrew Pinski


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