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

Re: Problem: delete_dead_jumptables and constant pool references


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~


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