2012-03-05 Richard Guenther <rguenther@suse.de>
* cfgexpand.c (gimple_expand_cfg): Free dominator info.
* tree-if-conv.c (combine_blocks): Free post-dominator info
after breaking it.
* tree-parloops.c (create_parallel_loop): Free and re-compute
dominator info after breaking it.
From-SVN: r184933
2012-03-05 Richard Guenther <rguenther@suse.de>
+ * cfgexpand.c (gimple_expand_cfg): Free dominator info.
+ * tree-if-conv.c (combine_blocks): Free post-dominator info
+ after breaking it.
+ * tree-parloops.c (create_parallel_loop): Free and re-compute
+ dominator info after breaking it.
+
+2012-03-05 Richard Guenther <rguenther@suse.de>
+
PR middle-end/52353
* optabs.h (trapv_unoptab_p): New function.
(trapv_binoptab_p): Likewise.
/* Some backends want to know that we are expanding to RTL. */
currently_expanding_to_rtl = 1;
+ /* Dominators are not kept up-to-date as we may create new basic-blocks. */
+ free_dominance_info (CDI_DOMINATORS);
rtl_profile_for_bb (ENTRY_BLOCK_PTR);
free (ifc_bbs);
ifc_bbs = NULL;
+
+ /* Post-dominators are corrupt now. */
+ free_dominance_info (CDI_POST_DOMINATORS);
}
/* If-convert LOOP when it is legal. For the moment this pass has no
gimple_set_location (stmt, loc);
gsi_insert_after (&gsi, stmt, GSI_NEW_STMT);
+ /* After the above dom info is hosed. Re-compute it. */
+ free_dominance_info (CDI_DOMINATORS);
+ calculate_dominance_info (CDI_DOMINATORS);
+
return paral_bb;
}