public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/99466] internal compiler error: in function_and_variable_visibility, at ipa-visibility.c:795
Date: Fri, 26 Mar 2021 15:45:31 +0000	[thread overview]
Message-ID: <bug-99466-4-L7C92wdzvd@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-99466-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99466

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Iain Buclaw
<ibuclaw@gcc.gnu.org>:

https://gcc.gnu.org/g:fd23b0bb77d483c07bc14f86cc349f82b1b38320

commit r9-9310-gfd23b0bb77d483c07bc14f86cc349f82b1b38320
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Mar 13 17:05:52 2021 +0100

    Fix ICE: in function_and_variable_visibility, at ipa-visibility.c:795
[PR99466]

    In get_emutls_init_templ_addr, only thread-local declarations that were
    DECL_ONE_ONLY would have a public initializer symbol, ignoring variables
    that were declared with __attribute__((weak)).

    gcc/ChangeLog:

            PR ipa/99466
            * tree-emutls.c (get_emutls_init_templ_addr): Mark initializer of
weak
            TLS declarations as public.

    gcc/testsuite/ChangeLog:

            PR ipa/99466
            * gcc.dg/tls/pr99466-1.c: New test.
            * gcc.dg/tls/pr99466-2.c: New test.

    (cherry picked from commit 8f5e18db259c8a9790feb1d73bb0348182264f15)

  parent reply	other threads:[~2021-03-26 15:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-08 13:57 [Bug c/99466] New: " ibuclaw at gdcproject dot org
2021-03-08 14:15 ` [Bug ipa/99466] " marxin at gcc dot gnu.org
2021-03-08 14:19 ` ibuclaw at gdcproject dot org
2021-03-08 14:35 ` ibuclaw at gdcproject dot org
2021-03-16 13:28 ` iains at gcc dot gnu.org
2021-03-16 14:15 ` ibuclaw at gdcproject dot org
2021-03-16 14:19 ` iains at gcc dot gnu.org
2021-03-26 15:15 ` cvs-commit at gcc dot gnu.org
2021-03-26 15:44 ` cvs-commit at gcc dot gnu.org
2021-03-26 15:45 ` cvs-commit at gcc dot gnu.org [this message]
2021-03-26 15:46 ` ibuclaw at gdcproject dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-99466-4-L7C92wdzvd@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).