This is the mail archive of the
mailing list for the GCC project.
Re: cse_insn using wrong label_ref
- From: Roger Sayle <roger at www dot eyesopen dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 May 2003 07:13:04 -0600 (MDT)
- Subject: Re: cse_insn using wrong label_ref
I agree with Richard Kenner, the real problem is that the REG_EQUAL
note on the conditional jump is incorrect.
The good news is that I have an unreviewed patch from 9th March:
"REG_EQUAL notes on cond_jumps" that attempts to correctly update
the REG_EQUAL notes (or blow them away) at all the places in jump.c
that modify conditional jumps.
Could you check whether this patch fixes your problems?
If we can't get someone to review it in its entirety, the two
hunks to jump.c are probably all that are required, and the changes
to GCSE to provide additional functionality may be reviewed as a
separate follow-up patch.
Personally, the backlog of gcc patches is becoming a problem.
Roger Sayle, E-mail: email@example.com
OpenEye Scientific Software, WWW: http://www.eyesopen.com/
Suite 1107, 3600 Cerrillos Road, Tel: (+1) 505-473-7385
Santa Fe, New Mexico, 87507. Fax: (+1) 505-473-0833