https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92160
--- Comment #2 from Pom ---
Created attachment 47073
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47073&action=edit
test code and makefile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92160
--- Comment #1 from Pom ---
full source code:
#define TLS __thread
TLS int oldname = 7;
extern TLS int newname __attribute__((alias("oldname")));
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: unclepom at sina dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
--- tls.c -
TLS int oldname = 7;
extern TLS int newname