On Fri, 2015-09-25 at 09:16 -0500, Segher Boessenkool wrote: > (reorder_basic_blocks): Choose between the STC and the simple > algorithms (always choose the former). [snip] @@ -2274,7 +2444,10 @@ reorder_basic_blocks (void) > set_edge_can_fallthru_flag (); > mark_dfs_back_edges (); > > - reorder_basic_blocks_software_trace_cache (); > + if (1) > + reorder_basic_blocks_software_trace_cache (); > + else > + reorder_basic_blocks_simple ();
Did you write the code this way because you're thinking of allowing either reorder function to be called in the future? Peter