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: Backport fix for PR c++/85400


On Wed, May 22, 2019 at 9:43 AM Eric Botcazou <ebotcazou@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  <ebotcazou@adacore.com>
>
> c-family/
>         Backport from mainline
>         2018-05-10  Eric Botcazou  <ebotcazou@adacore.com>
>
>         PR c++/85400
>         * c-attribs.c (handle_visibility_attribute): Do not set no_add_attrs.
>
>
> 2019-05-22  Eric Botcazou  <ebotcazou@adacore.com>
>
> cp/
>         Backport from mainline
>         2018-05-10  Eric Botcazou  <ebotcazou@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  <ebotcazou@adacore.com>
>
>         * g++.dg/tls/pr85400.C: New test.
>
> --
> Eric Botcazou


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