re PR lto/48952 (ICE in inline_merge_summary during linux kernel LTO build)
authorJan Hubicka <jh@suse.cz>
Thu, 12 May 2011 11:30:42 +0000 (13:30 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 12 May 2011 11:30:42 +0000 (11:30 +0000)
PR lto/48952
* lto.c (do_whole_program_analysis): Do not register cgraph hooks.

From-SVN: r173700

gcc/lto/ChangeLog
gcc/lto/lto.c

index c1577aab15a3994957cb5347c2565be2d55f5986..7f10bfbf7ae2237cd4b86dfe66d0323b0bbdc1ed 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-11  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/48952
+       * lto.c (do_whole_program_analysis): Do not register cgraph hooks.
+
 2011-05-11  Nathan Froyd  <froydnj@codesourcery.com>
 
        * lto.c (lto_ft_type): Use TYPE_MINVAL and TYPE_MAXVAL.  Adjust
index a5c7474851529e45d42a9df3f536e6fe81b8a596..ce72711f99f071b3c9ea819aee75895fb89b35af 100644 (file)
@@ -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);