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]

[patch] fix PR43602 for emutls targets.


The fix for profiling race conditions applied as r157822 revealed an issue with emutls:
This patch allows r157822 to be applied without regression on emutls targets.


The patch needs review from someone more familiar with emutls - although it has been tested on a variety of targets

(the discussion of this fix got attached to PR43553, for no well- explored reason - I would expect that PR43553 can be closed by this patch too).


PR middle-end/PR43602 * gcc/varasm.c: (get_emutls_init_templ_addr): Copy DECL_VISIBILITY_SPECIFIED. (emutls_decl): Ditto. (emutls_finalize_control_vars): New Proc. (emutls_finalize_control_vars_1): New Callback. * gcc/toplev.c: Call emutls_finalize_control_vars() for emutls targets. * gcc/output.h: Declare emutls_finalize_control_vars().


changelog and patch attached. Iain

Attachment: 157959-PR43602-diff.txt
Description: Text document



Attachment: 157959-PR43602-changelog.txt
Description: Text document



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