https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955
--- Comment #7 from CVS Commits ---
The master branch has been updated by H.J. Lu :
https://gcc.gnu.org/g:bf69edf8ce47ca618eff30df2308279a40b22096
commit r11-3081-gbf69edf8ce47ca618eff30df2308279a40b22096
Author: H.J. Lu
Date: Wed Sep 9 10:2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955
H.J. Lu changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955
--- Comment #5 from Hongtao.liu ---
Fixed in GCC11.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955
--- Comment #4 from CVS Commits ---
The master branch has been updated by hongtao Liu :
https://gcc.gnu.org/g:e470d8af81d390df1166e9d9cf10b00c0692a495
commit r11-3067-ge470d8af81d390df1166e9d9cf10b00c0692a495
Author: liuhongt
Date: Tue Sep 8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955
--- Comment #3 from Hongtao.liu ---
(In reply to Jakub Jelinek from comment #1)
> And if possible, optimize, so that if one does say
> int *p = (int *)__builtin_thread_pointer ();
> return p[4];
> or
> return p[i];
> it will not read %fs:0 into a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955
--- Comment #2 from Hongtao.liu ---
Do we also need "__builtin_set_thread_pointer" ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1