inclhack.def (solaris_mutex_init_2): Escape braces in regexp that don't form a range expression.

* fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
	in regexp that don't form a range expression.
	* fixinc/fixincl.def: Regenerate.

From-SVN: r69517
This commit is contained in:
Zack Weinberg 2003-07-17 18:43:37 +00:00
parent b23ba0b898
commit 78ff95dc17
3 changed files with 17 additions and 11 deletions

View File

@ -1,9 +1,15 @@
2003-07-17 Zack Weinberg <zack@codesourcery.com>
* fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
in regexp that don't form a range expression.
* fixinc/fixincl.def: Regenerate.
2003-07-17 Richard Henderson <rth@redhat.com>
PR target/10907
* config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
even with !TARGET_CONST_GP.
(ia64_function_ok_for_sibcall): Reject non-local functions.
PR target/10907
* config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
even with !TARGET_CONST_GP.
(ia64_function_ok_for_sibcall): Reject non-local functions.
2003-07-17 Steven Bosscher <steven@gcc.gnu.org>
@ -25,7 +31,7 @@
Move the entry of "-mimpure-text" before that of "-mv8".
2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
Phil Edwards <phil@jaj.com>
Phil Edwards <phil@jaj.com>
* doc/install.texi (*-*-solaris2*): Document the step-by-step
procedure to bootstrap and install.
@ -107,7 +113,7 @@ objc:
(simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X.
2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
* doc/install.texi (--without-headers): New.
Partial Fix PR/10129

View File

@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed Monday July 14, 2003 at 08:37:56 PM EDT
* It has been AutoGen-ed Thursday July 17, 2003 at 10:34:33 AM PDT
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT CVS-MERGE THIS FILE, EITHER Mon Jul 14 20:37:56 EDT 2003
/* DO NOT CVS-MERGE THIS FILE, EITHER Thu Jul 17 10:34:33 PDT 2003
*
* You must regenerate it. Use the ./genfixes script.
*
@ -3968,7 +3968,7 @@ static const char* apzSolaris_Mutex_Init_2Patch[] = {
#else\n\
%1, {0}}%3\n\
#endif",
"(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+{.*),[ \t]*0}(|[ \t].*)$",
"(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *

View File

@ -2198,8 +2198,8 @@ fix = {
"#else\n"
"%1, {0}}%3\n"
"#endif";
c_fix_arg = "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+{.*)"
",[ \t]*0}" "(|[ \t].*)$";
c_fix_arg = "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*)"
",[ \t]*0\\}" "(|[ \t].*)$";
test_text =
'#ident "@(#)pthread.h 1.26 98/04/12 SMI"'"\n"
"#define PTHREAD_MUTEX_INITIALIZER\t{{{0},0}, {{{0}}}, 0}\n"