[PATCH] Fix -fcrossjumping at -O1 (PR rtl-optimization/48156)

Michael Matz matz@suse.de
Fri Mar 18 16:34:00 GMT 2011


Hi,

On Fri, 18 Mar 2011, Kenneth Zadeck wrote:

> I believe that this is not the right way to go.
> 
> if someone specifies -fcrossjumping, then the pass should turn on live for the
> duration of the pass just as ifcvt does.    If they ask for crossjumping you
> should give them crossjumping and not some crippled version of it.

OTOH the function is called df_get_bb_dirty, not 
df_get_bb_dirty_but_only_for_df_live.  So irrespective of how 
-fcrossjumping should behave with -O1 the patch seems to be a good idea.


Ciao,
Michael.



More information about the Gcc-patches mailing list