thread changes break compiliation on i686-linux-gnu
Jakub Jelinek
jakub@redhat.com
Wed May 22 13:43:00 GMT 2002
On Wed, May 22, 2002 at 01:00:37PM -0700, Richard Henderson wrote:
> * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
> * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
>
> Index: inclhack.def
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/fixinc/inclhack.def,v
> retrieving revision 1.130
> diff -c -p -d -r1.130 inclhack.def
> *** inclhack.def 22 May 2002 02:59:19 -0000 1.130
> --- inclhack.def 22 May 2002 19:59:39 -0000
> *************** fix = {
> *** 2892,2902 ****
> hackname = thread_keyword;
> files = "pthread.h";
> files = "bits/sigthread.h";
> ! select = "pthread_t __thread([^a-z0-9_])";
> c_fix = format;
> ! c_fix_arg = 'pthread_t __thr%1';
>
> ! test_text = "extern int pthread_kill (pthread_t __thread, int __signo);";
> };
>
> /*
> --- 2892,2904 ----
> hackname = thread_keyword;
> files = "pthread.h";
> files = "bits/sigthread.h";
> ! select = " __thread,";
> c_fix = format;
> ! c_fix_arg = " __thr,";
Shouldn't this be __thread[,)] and __thr%1 instead for:
extern int pthread_cancel (pthread_t __thread)
?;
Jakub
More information about the Gcc-bugs
mailing list