This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR57330


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]