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]

Re: [gomp] Fix multiple threadprivate declarations (PR 24455)



On Oct 21, 2005, at 12:18 AM, Diego Novillo wrote:
I tried adding the same error messages to the C++ front end but ran into
more trouble than I could handle. We fail g++.dg/tls/diag-1.C because:


struct A {
  static __thread int i;
};

__thread int A::i = 42;


And that would be PR 19450 so if you are now making this rejects valid, it turns into a regression from wrong-code.

-- Pinski


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