This is the mail archive of the gcc-patches@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]

Re: [patch] Fix PR lto/44230


> Can you instead of checking DECL_FUNCTION_PERSONALITY
> in lto_fixup_function do it in lto_materialize_function after
>
>       /* Load the function body only if not operating in WPA mode.  In
>          WPA mode, the body of the function is not needed.  */
>       if (!flag_wpa)
>         {
>          allocate_struct_function (decl, false);
>           announce_function (node->decl);
>           lto_input_function_body (file_data, decl, data);
>
> (thus only during LTO/LTRANS phase, not in WPA phase)?

Yes, this works as well, thanks.

-- 
Eric Botcazou


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