On Thu, Jun 14, 2012 at 5:33 PM, Michael Matz <m...@suse.de> wrote: > Hi, > > On Thu, 14 Jun 2012, Michael Matz wrote: > >> In any case, this patch is currently in regstrapping on x86-64. Okay if >> it passes (modulo changes for the above symtab_get_node() issue)? > > After discussion with Honza, consider the patch changed like so: > > if (!from_decl > || TREE_CODE (from_decl) != VAR_DECL > || !DECL_EXTERNAL (from_decl) > - || (symtab_get_node (from_decl)->symbol.in_other_partition)) > + || (flag_ltrans > + && symtab_get_node (from_decl)->symbol.in_other_partition)) > return true; > > Restarted regstrapping the thing on x86_64 again. Okay if that passes?
Ok. But I wonder how the symtab cannot be "ready" when we gimplify - after all we gimplify only from after cgraph_finalize_compilation_unit ... Thanks, Richard. > > Ciao, > Michael.