This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem: delete_dead_jumptables and constant pool references
- To: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- Subject: Re: Problem: delete_dead_jumptables and constant pool references
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 13 Aug 2001 15:44:38 -0700
- Cc: gcc at gcc dot gnu dot org, uweigand at de dot ibm dot com, hpenner at de dot ibm dot com
- References: <200108132140.XAA02491@faui11.informatik.uni-erlangen.de>
On Mon, Aug 13, 2001 at 11:40:13PM +0200, Ulrich Weigand wrote:
> Is this the correct approach to fix the problem?
Not quite, the label should be deleted too, but by
turning it into a NOTE_INSN_DELETED_LABEL. Try
flow_delete_insn_chain (insn, NEXT_INSN (insn));
instead of the two flow_delete_insn calls.
r~