https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114573
Albert Netymk changed:
What|Removed |Added
CC||albertnetymk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85861
Albert Netymk changed:
What|Removed |Added
CC||albertnetymk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65712
--- Comment #2 from Albert Netymk ---
@Andrew Pinski Could you provide the ref for const and pure attribute? It's not
mentioned in the
[spec](http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_self.html),
or the source code of
[glib
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: albertnetymk at gmail dot com
When using no opitimization, the output is expected:
gcc test.c -pthread && ./a.out
B is 13977885720
A is 139778843830016
A 139778843830016
B 1397788