This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] use bb_has_abnormal_pred in a few places


On 10/20/2010 8:24 PM, Nathan Froyd wrote:
> The patch below chanages several places to use bb_has_abnormal_pred
> instead of explicit loops.

> 	* cfgloop.c (flow_loops_find): Call bb_has_abnormal_pred.
> 	* reload1.c (has_nonexceptional_receiver): Likewise.
> 	* tree-into-ssa.c (rewrite_update_enter_block): Likewise.
> 	(create_new_def_for): Likewise.
> 	* tree-cfgcleanup.c (remove_forwarder_block): Likewise.
> 	(merge_phi_nodes): Likewise.
> 	(has_abnormal_incoming_edge_p): Delete.

OK.

Going forward, let's consider a patch that replaces a block of inline
code by identical code wrapped in up in a pre-existing function obvious.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]