This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix __thread class static variables and report mismatch of __thread decls (PR c++/19450)


Hi!

As shown on the attached testcases, __thread was ignored for class static vars
and while fixing it, I have noticed that C++ FE unlike C doesn't issue any
diagnostics for redeclaration of __thread vars with non-__thread and vice
versa.

Ok for HEAD/4.0/3.4 if testing succeeds (so far I have just tested make
check-g++ RUNTESTFLAGS=tls.exp)?

	Jakub

Attachment: gcc41-pr19450.patch
Description: Text document

Attachment: gcc4-pr19450.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]