diff options
-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 e5534d04f50..b52a26b8c61 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 ff07fc69df2..779e42b8981 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); |