This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: One more cgraph frequency bug
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 Nov 2009 06:55:41 -0800
- Subject: Re: One more cgraph frequency bug
- References: <20091116204742.GP14355@kam.mff.cuni.cz>
On Mon, Nov 16, 2009 at 12:47 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
> Hi,
> this fixes the obvious bug in accessing removed node and adds sanity check.
> Bootstrapped/regtested x86_64-linux, comitted.
>
> Index: ChangeLog
> ===================================================================
> *** ChangeLog ? (revision 154205)
> --- ChangeLog ? (working copy)
> ***************
> *** 1,5 ****
> --- 1,11 ----
> ?2009-11-14 ?Jan Hubicka ?<jh@suse.cz>
>
> + ? ? ? * cgraph.c (cgraph_update_edges_for_call_stmt_node): Do not access
> + ? ? ? removed node.
> + ? ? ? * cgraphunit.c (verify_cgraph_node): Verify frequencies for match.
> +
> + 2009-11-14 ?Jan Hubicka ?<jh@suse.cz>
> +
This caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42080
--
H.J.