Hi!

I've successfully bootstrapped/regtested following patch from the PR on
x86_64-linux and i686-linux.  Will you commit it?

2019-01-31  Richard Biener  <rgue...@suse.de>

        PR rtl-optimization/88593
        * mode-switching.c (optimize_mode_switching): Free dominators before
        calling cleanup_cfg.

--- gcc/mode-switching.c
+++ gcc/mode-switching.c
@@ -856,7 +856,10 @@ optimize_mode_switching (void)
     commit_edge_insertions ();
 
   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)
     return 0;

        Jakub

Reply via email to