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: cse_insn using wrong label_ref


Hi DJ,

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:
http://gcc.gnu.org/ml/gcc-patches/2003-03/msg00824.html entitled
"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
--
Roger Sayle,                         E-mail: roger@eyesopen.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


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