This is the mail archive of the
mailing list for the GCC project.
Re: cse_insn using wrong label_ref
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: dj at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 May 03 07:58:12 EDT
- Subject: Re: cse_insn using wrong label_ref
The attached patch seems to fix it, but I'm not sure if this is the
right place to be addressing this problem (i.e. there might be cases
where src_eqv is not fully reduced, yet still has the wrong label and
is still used, or it might be that the REG_EQUAL is supposed to have
the right label). I'll start a test run in case this is the right way
to fix it ;-)
Perhaps this patch might be needed, but I'd want to understand how REG_EQUAL
ended up with the wrong label.