This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix bug with noreturn call
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.
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
>