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, updated] Fix PR44132/PR43602 - was Re: [patch] fix PR43602 for emutls targets.


On 10-05-23 12:59 , IainS wrote:

PR target/44132
PR middle-end/43602
* varasm.c (get_emutls_init_templ_addr): Copy DECL_VISIBILITY_SPECIFIED,
DECL_PRESERVE_P.
(emutls_decl): Copy DECL_VISIBILITY_SPECIFIED, DECL_RESTRICTED_P,
and set DECL_PRESERVE_P.
(emutls_finalize_control_var): New callback.
(emutls_finish): Finalize emutls control variables.
* toplev.c (compile_file): Move the call to emutls_finish () before
varpool_assemble_pending_decls ().

OK.



Diego.



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