https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46283
--- Comment #3 from Tor Myklebust ---
On Sat, Jul 24, 2021 at 6:45 AM pinskia at gcc dot gnu.org
wrote:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46283
>
> --- Comment #2 from Andrew Pinski ---
> ((a *)0)->foo::x()
>
> ((T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26461
Tor Myklebust changed:
What|Removed |Added
CC||tmyklebu at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80258
--- Comment #9 from Tor Myklebust ---
OK, I gather that the gcc developers, as a group, are against changing this
behaviour. (I can speculate why; almost all code that uses TLS will see a
slowdown.)
In order to work around this behaviour, one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80258
--- Comment #6 from Tor Myklebust ---
Created attachment 41085
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41085=edit
Program referenced in comment 4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80258
--- Comment #5 from Tor Myklebust ---
Created attachment 41084
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41084=edit
Program referenced in comment 4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80258
--- Comment #4 from Tor Myklebust ---
I suppose the program attached doesn't demonstrate that.
I ran:
info gcc 'C ext' 'thread'
I read the following text:
When the address-of operator is applied to a thread-local variable, it is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80258
--- Comment #2 from Tor Myklebust ---
For completeness, this issue was raised as Stackoverflow question 43081742 by
user merlin2011.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80258
--- Comment #1 from Tor Myklebust ---
Created attachment 41083
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41083=edit
A program that breaks with -O3 -fPIC
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: tmyklebu at gmail dot com
Target Milestone: ---
The address of the running thread's TLS appears to be loaded only once although
the running thread may change.
This simple example
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46283
Summary: Strange lookup of p-type::foo expressions
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo:
10 matches
Mail list logo