All,
Graham Stott wrote:
Jan,
I've reproduced the problem on a mips-sgi-irix6.5 cross.
Ok now to do some digging.
Graham
Can those people with access to failing targets please try the following
patch.
I'm going to do a i686-pc-linux-gnu bootstrap over night as an minimal
sanity check.
The problem is the DEAD jumptable should have been deleted but wasn't
because the label had an incorrect NUSES so the delete_dead_jumptables
thought it was still used.
Rebuilding the NUSES field of all label_refs at the end of life analysis
and immediately prior to the purging dead jumptables we allow the
delete_dead_jumptables routine to purge all the dead jump tables.
We are going to take a performance hit with this patch but I'm not
sure how significant it'll be.
Comments.
Graham
ChangeLog
* flow.c(life_analysis): Update LABEL_NUSES before purging
dead jumptables.
This patch has no effect on powerpc-linux-gnu, both testcases still fail in
the same way.