This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: thread changes break compiliation on i686-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]