From: Jan Hubicka Date: Thu, 12 May 2011 11:30:42 +0000 (+0200) Subject: re PR lto/48952 (ICE in inline_merge_summary during linux kernel LTO build) X-Git-Tag: releases/gcc-4.7.0~6800 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35d828c58ba757ef44380f1eb6a5a4d1c325da6b;p=thirdparty%2Fgcc.git re PR lto/48952 (ICE in inline_merge_summary during linux kernel LTO build) PR lto/48952 * lto.c (do_whole_program_analysis): Do not register cgraph hooks. From-SVN: r173700 --- diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index c1577aab15a3..7f10bfbf7ae2 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2011-05-11 Jan Hubicka + + PR lto/48952 + * lto.c (do_whole_program_analysis): Do not register cgraph hooks. + 2011-05-11 Nathan Froyd * lto.c (lto_ft_type): Use TYPE_MINVAL and TYPE_MAXVAL. Adjust diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index a5c747485152..ce72711f99f0 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -2511,7 +2511,6 @@ do_whole_program_analysis (void) dump_varpool (cgraph_dump_file); } bitmap_obstack_initialize (NULL); - ipa_register_cgraph_hooks (); cgraph_state = CGRAPH_STATE_IPA_SSA; execute_ipa_pass_list (all_regular_ipa_passes);