mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libitm: Fix wrong initialization order introduced with r202101.
* config/posix/rwlock.cc: Fix initialization order. From-SVN: r202116
This commit is contained in:
committed by
Torvald Riegel
parent
0a6ea5c9c9
commit
6fb471d812
@@ -1,3 +1,7 @@
|
||||
2013-08-30 Torvald Riegel <triegel@redhat.com>
|
||||
|
||||
* config/posix/rwlock.cc: Fix initialization order.
|
||||
|
||||
2013-08-30 Torvald Riegel <triegel@redhat.com>
|
||||
|
||||
* libitm_i.h (gtm_thread): Assign an asm name to serial_lock.
|
||||
|
||||
@@ -30,11 +30,11 @@ namespace GTM HIDDEN {
|
||||
// ??? Move this back to the header file when constexpr is implemented.
|
||||
|
||||
gtm_rwlock::gtm_rwlock()
|
||||
: mutex (PTHREAD_MUTEX_INITIALIZER),
|
||||
: summary (0),
|
||||
mutex (PTHREAD_MUTEX_INITIALIZER),
|
||||
c_readers (PTHREAD_COND_INITIALIZER),
|
||||
c_writers (PTHREAD_COND_INITIALIZER),
|
||||
c_confirmed_writers (PTHREAD_COND_INITIALIZER),
|
||||
summary (0),
|
||||
a_readers (0),
|
||||
w_readers (0),
|
||||
w_writers (0)
|
||||
|
||||
Reference in New Issue
Block a user