re PR rtl-optimization/88593 (cleanup_cfg may make cached dominance info stale)
2019-02-01 Richard Biener <rguenth@suse.de> PR rtl-optimization/88593 * mode-switching.c (optimize_mode_switching): Free dominators before calling cleanup_cfg. From-SVN: r268442
This commit is contained in:
parent
3c2df91668
commit
09822562e4
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2019-02-01 Richard Biener <rguenth@suse.de>
|
||||||
|
|
||||||
|
PR rtl-optimization/88593
|
||||||
|
* mode-switching.c (optimize_mode_switching): Free dominators before
|
||||||
|
calling cleanup_cfg.
|
||||||
|
|
||||||
2019-02-01 Bin Cheng <bin.cheng@linux.alibaba.com>
|
2019-02-01 Bin Cheng <bin.cheng@linux.alibaba.com>
|
||||||
|
|
||||||
PR tree-optimization/88932
|
PR tree-optimization/88932
|
||||||
|
|
|
@ -856,7 +856,10 @@ optimize_mode_switching (void)
|
||||||
commit_edge_insertions ();
|
commit_edge_insertions ();
|
||||||
|
|
||||||
if (targetm.mode_switching.entry && targetm.mode_switching.exit)
|
if (targetm.mode_switching.entry && targetm.mode_switching.exit)
|
||||||
cleanup_cfg (CLEANUP_NO_INSN_DEL);
|
{
|
||||||
|
free_dominance_info (CDI_DOMINATORS);
|
||||||
|
cleanup_cfg (CLEANUP_NO_INSN_DEL);
|
||||||
|
}
|
||||||
else if (!need_commit && !emitted)
|
else if (!need_commit && !emitted)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue