libstdc++/8731: thread mutex initializers
bangerth@dealii.org
bangerth@dealii.org
Wed Nov 27 07:31:00 GMT 2002
Old Synopsis: STL problems
New Synopsis: thread mutex initializers
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Nov 27 06:56:28 2002
State-Changed-Why:
Confirmed. The problem comes from code like this, buried deep
inside libstdc++:
--------------------
struct pthread_mutex_st {
void * res0;
int res1;
int res2;
int res3;
int res4;
int res5;
};
struct pthread_mutexattr_st;
//...
typedef pthread_mutex_t __gthread_mutex_t;
//...
__gthread_mutex_t __tmp = {0, 0, 0, PTHREAD_MUTEX_TIMED_NP, { 0, 0 }};
-----------------------
This happens in bits/stl_threads.h:74, so I better
reclassify it for libstdc++.
Georg, in this case it would be interesting to have
the original, unpreprocessed code, to see whether it
works with newer and/or older versions of gcc. Can you
provide a stripped down version of it?
Thanks
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8731
More information about the Gcc-bugs
mailing list