Re: [PATCH] Fix PR57330

2013-05-21 Thread Jakub Jelinek
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 anywa

[PATCH] Fix PR57330

2013-05-21 Thread Richard Biener
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? Thanks, Richard. 2013-05-21 Richard Biener PR tree-optimization/57330 * cgraph.c (cgraph_redirect_ed