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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35d828c58ba757ef44380f1eb6a5a4d1c325da6b;p=gcc.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 c1577aab15a..7f10bfbf7ae 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 a5c74748515..ce72711f99f 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);