This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR46717
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Nov 2010 12:24:38 -0800
- Subject: Re: [PATCH] Fix PR46717
- References: <alpine.LNX.2.00.1011301529330.23074@zhemvz.fhfr.qr>
On Tue, Nov 30, 2010 at 6:30 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> With profiling done in SSA form we have to be more careful with
> preserving EH information because of PHI nodes. ?The following
> patch makes sure to update them and retain the original EH edges
> when present.
>
> Profile-bootstrapped and tested on x86_64-unknown-linux-gnu, applied
> to trunk.
>
> Richard.
>
> 2010-11-30 ?Richard Guenther ?<rguenther@suse.de>
>
> ? ? ? ?PR tree-optimization/46717
> ? ? ? ?* value-prof.c (gimple_ic): Preserve EH edges of the indirect
> ? ? ? ?call. ?Manually create EH edges for the direct call and update
> ? ? ? ?target PHI nodes.
>
This caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46730
--
H.J.