This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Problem with jump tables
- From: "S. Bosscher" <S dot Bosscher at student dot tudelft dot nl>
- To: 'Eric Botcazou ' <ebotcazou at libertysurf dot fr>,"'gcc at gcc dot gnu dot org '" <gcc at gcc dot gnu dot org>
- Date: Mon, 20 Oct 2003 11:31:27 +0200
- Subject: RE: Problem with jump tables
> At which stage should the jump table be deleted? I tend to think it
> would be during CSE, but then the insns that set up the jump table would
> reference an undefined label (that of the jump table itself). Or should
> cleanup_cfg be taught to delete such orphaned jump tables?
Considering the number of problems there've been with orphaned jump tables,
perhaps teaching cleanup_cfg to clean them up would be best.
Gr.
Steven