* cfgrtl.c (commit_edge_insertions): Rebuild jump labels chain.

From-SVN: r272930
This commit is contained in:
Eric Botcazou 2019-07-02 11:10:59 +00:00 committed by Eric Botcazou
parent 82cea5e8bf
commit fe51b12950
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@
to be inserted on single successor edge of the entry block. Then call
commit_edge_insertions instead of inserting the instructions manually.
* cfgrtl.c (commit_edge_insertions): Do not verify flow info during
RTL expansion.
RTL expansion and rebuild jump labels chain.
2019-07-02 Richard Biener <rguenther@suse.de>

View File

@ -2116,7 +2116,11 @@ commit_edge_insertions (void)
FOR_EACH_EDGE (e, ei, bb->succs)
if (e->insns.r)
commit_one_edge_insertion (e);
{
if (currently_expanding_to_rtl)
rebuild_jump_labels_chain (e->insns.r);
commit_one_edge_insertion (e);
}
}
}