diff options
author | Christopher Faylor <me@cgf.cx> | 2004-01-14 18:32:11 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-01-14 18:32:11 +0300 |
commit | 3eb090aec281d1c4e342b779e11476d65b892031 (patch) | |
tree | 67f723b197b3cc433687788cb535a3e1c2d58f03 | |
parent | cf8b473a42759fa68814e24b8a4284aec646f451 (diff) |
* cygtls.h (_threadinfo::call): Remove regparm declaration to work around
compiler bug.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/cygtls.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e5534d04f..b52a26b8c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2004-01-14 Christopher Faylor <cgf@redhat.com> + + * cygtls.h (_threadinfo::call): Remove regparm declaration to work + around compiler bug. + 2004-01-13 Christopher Faylor <cgf@redhat.com> * autoload.cc (TryEnterCriticalSection): Remove. diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index ff07fc69d..779e42b89 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -116,7 +116,7 @@ struct _threadinfo static CRITICAL_SECTION protect_linked_list; static void init (); void init_thread (void *, DWORD (*) (void *, void *)); - static void call (DWORD (*) (void *, void *), void *) __attribute__ ((regparm (3))); + static void call (DWORD (*) (void *, void *), void *); static void call2 (DWORD (*) (void *, void *), void *, void *) __attribute__ ((regparm (3))); static struct _threadinfo *find_tls (int sig); void remove (DWORD); |