http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48389
Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steven at gcc dot gnu.org --- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> 2011-04-06 20:41:40 UTC --- I think this should fix the problem: Index: cfgexpand.c =================================================================== --- cfgexpand.c (revision 172003) +++ cfgexpand.c (working copy) @@ -4143,8 +4143,6 @@ gimple_expand_cfg (void) /* Zap the tree EH table. */ set_eh_throw_stmt_table (cfun, NULL); - rebuild_jump_labels (get_insns ()); - FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) { edge e; @@ -4170,6 +4168,8 @@ gimple_expand_cfg (void) } } + rebuild_jump_labels (get_insns ()); + /* We're done expanding trees to RTL. */ currently_expanding_to_rtl = 0;