On Wed, May 22, 2019 at 9:43 AM Eric Botcazou <ebotca...@adacore.com> wrote: > > Jakub asked me to backport the fix for PR c++/85400 initially intended for > SPARC/Solaris but which also helps on x86-64/Linux apparently. > > Tested on the latter platform, applied on the 8 branch.
Probably also required for GCC 7 then? Richard. > > 2019-05-22 Eric Botcazou <ebotca...@adacore.com> > > c-family/ > Backport from mainline > 2018-05-10 Eric Botcazou <ebotca...@adacore.com> > > PR c++/85400 > * c-attribs.c (handle_visibility_attribute): Do not set no_add_attrs. > > > 2019-05-22 Eric Botcazou <ebotca...@adacore.com> > > cp/ > Backport from mainline > 2018-05-10 Eric Botcazou <ebotca...@adacore.com> > > PR c++/85400 > * decl2.c (adjust_var_decl_tls_model): New static function. > (comdat_linkage): Call it on a variable. > (maybe_make_one_only): Likewise. > > > 2019-05-22 Eric Botcazou <ebotca...@adacore.com> > > * g++.dg/tls/pr85400.C: New test. > > -- > Eric Botcazou