On Tue, May 21, 2013 at 01:55:34PM +0200, Richard Biener wrote:
> 
> The following makes sure to preserve the call function type when
> redirecting edges.
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.
> 
> Ok for the branch?

Yes, we'll need to do rc2 most likely anyway.

> 2013-05-21  Richard Biener  <rguent...@suse.de>
> 
>       PR tree-optimization/57330
>       * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Properly
>       preserve the call stmts fntype.
> 
>       * gcc.dg/torture/pr57330.c: New testcase.

        Jakub

Reply via email to