https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121723
Bug ID: 121723 Summary: 'non-delegitimized UNSPEC UNSPEC_GOTPCREL (2) found in variable location' with -march=tigerlake Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- This comes from c-attribs.cc in gcc. Seeing the note was annoying me, so reduced it finally: ``` $ g++ a.c -c -O1 -march=tigerlake -g -fPIC a.c: In function ‘void j()’: a.c:9:6: note: non-delegitimized UNSPEC UNSPEC_GOTPCREL (2) found in variable location 9 | void j() { | ^ a.c:9:6: note: non-delegitimized UNSPEC UNSPEC_GOTPCREL (2) found in variable location a.c:9:6: note: non-delegitimized UNSPEC UNSPEC_GOTPCREL (2) found in variable location a.c:9:6: note: non-delegitimized UNSPEC UNSPEC_GOTPCREL (2) found in variable location a.c:9:6: note: non-delegitimized UNSPEC UNSPEC_GOTPCREL (2) found in variable location a.c:9:6: note: non-delegitimized UNSPEC UNSPEC_GOTPCREL (2) found in variable location ```