This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR57330
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 21 May 2013 13:58:03 +0200
- Subject: Re: [PATCH] Fix PR57330
- References: <alpine dot LNX dot 2 dot 00 dot 1305211354300 dot 24881 at zhemvz dot fhfr dot qr>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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 <rguenther@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