https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61879
Bug ID: 61879
Summary: [4.10 Regression] GCC gives "note: non-delegitimized
UNSPEC UNSPEC_GOTOFF (1) found in variable location"
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: d.g.gorbachev at gmail dot com
Target: i686-pc-linux-gnu
Created attachment 33172
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33172&action=edit
Testcase
GCC 4.10.0 20140720 (experimental).
$ gcc -S -march=pentium4 -g -O2 -fpie bug.c
bug.c: In function 'foo':
bug.c:11:5: note: non-delegitimized UNSPEC UNSPEC_GOTOFF (1) found in variable
location
int foo(int *p)
^
bug.c:11:5: note: non-delegitimized UNSPEC UNSPEC_GOTOFF (1) found in variable
location
Appeared in 210914 < r <= 211358.