[patch] Fix bug with noreturn call

Jan Hubicka hubicka@ucw.cz
Tue Jun 22 12:56:00 GMT 2010


> On Tue, Jun 22, 2010 at 11:52 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> >> A patch to do so is pre-approved if it passes bootstrap & regtest.
> >
> > Here is the patch that I've been playing with this morning.
> 
> Looks good to me.

To me too :)

Thanks,
Honza
> 
> Richard.
> 
> >
> >        * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Chain the
> >        new statement and adjust VDEF only if necessary.  Remove superfluous
> >        call to maybe_clean_or_replace_eh_stmt.
> >        * gimple.c (gimple_call_copy_skip_args): Use gimple_call_copy_flags to
> >        copy the flags.
> >        * gimple-iterator.c (gsi_replace): Clear BB of old statement here.
> >        * tree-inline.c (copy_bb): Do not clear BB of old statement here.
> >
> >
> > --
> > Eric Botcazou
> >



More information about the Gcc-patches mailing list