public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100354] New: [9 regression] aarch64: non-deligitimized UNSPEC UNSPEC_TLS (76) found in variable location
@ 2021-04-30 12:07 nsz at gcc dot gnu.org
  2021-04-30 12:48 ` [Bug target/100354] [9/10/11/12 " acoplan at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: nsz at gcc dot gnu.org @ 2021-04-30 12:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100354
           Summary: [9 regression] aarch64: non-deligitimized UNSPEC
                    UNSPEC_TLS (76) found in variable location
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nsz at gcc dot gnu.org
  Target Milestone: ---

i see this note/warning a lot during an aarch64 glibc build
since gcc-9, it seems to require -O -g, and seems to be
harmless wrt code generation, just annoying.

$ cat bug.c
struct s {
  void *p;
  int n;
};

void foo(struct s *x)
{
  void *p = __builtin_thread_pointer();
  if (x->p != p)
    x->p = p;
  x->n++;
}

$ aarch64-none-linux-gnu-gcc -S -O1 -g bug.c
bug.c: In function ‘foo’:
bug.c:6:6: note: non-delegitimized UNSPEC UNSPEC_TLS (76) found in variable
location
    6 | void foo(struct s *x)
      |      ^~~


may be related to bug 89006

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-07-19 13:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 12:07 [Bug target/100354] New: [9 regression] aarch64: non-deligitimized UNSPEC UNSPEC_TLS (76) found in variable location nsz at gcc dot gnu.org
2021-04-30 12:48 ` [Bug target/100354] [9/10/11/12 " acoplan at gcc dot gnu.org
2021-05-03  7:29 ` rguenth at gcc dot gnu.org
2021-06-01  8:20 ` rguenth at gcc dot gnu.org
2021-10-25 18:23 ` acoplan at gcc dot gnu.org
2022-01-21 12:16 ` rguenth at gcc dot gnu.org
2022-01-21 12:22 ` jakub at gcc dot gnu.org
2022-02-08 18:27 ` jakub at gcc dot gnu.org
2022-02-08 18:54 ` jakub at gcc dot gnu.org
2022-05-27  9:45 ` [Bug target/100354] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:44 ` jakub at gcc dot gnu.org
2023-07-07 10:39 ` [Bug target/100354] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-03-11  3:23 ` [Bug target/100354] [11/12/13 " law at gcc dot gnu.org
2024-03-11  3:28 ` [Bug target/100354] [11/12/13/14 " pinskia at gcc dot gnu.org
2024-07-19 13:11 ` [Bug target/100354] [12/13/14/15 " rguenth at gcc dot gnu.org

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).