This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/57084] 483. xalancbmk run fails with -O2 -flto for i686


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57084

--- Comment #3 from Jan Hubicka <hubicka at ucw dot cz> 2013-05-03 12:17:20 UTC ---
> @@ -1993,6 +1994,18 @@ ipa_intraprocedural_devirtualization (gi
>    token = OBJ_TYPE_REF_TOKEN (otr);
>    fndecl = gimple_get_virt_method_for_binfo (tree_low_cst (token, 1),
>                           binfo);
> +  if (!fndecl)
> +    return NULL_TREE;
> +
> +  callee = cgraph_get_node (fndecl);
> +  if (!callee || callee->global.inlined_to)
> +    {
> +      if (!canonicalize_constructor_val (fndecl, NULL)
fndecl = canonicalize_constructor_val (fndecl, NULL) 
Why do you need TREE_PUBLIC check?

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]