From 907cb30e6ec4e77c19cbe64bd370cee4956ad29c Mon Sep 17 00:00:00 2001 From: Bruce Korb Date: Sat, 21 Jul 2001 04:04:27 +0000 Subject: [PATCH] incorporate patches from 3.0 branch From-SVN: r44218 --- gcc/fixinc/inclhack.def | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 21e83663eeb..aedf09713d3 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -121,7 +121,7 @@ fix = { /* _INT_VARARGS.H - Define the common stuff for varargs/stdarg/stdio. */ /************************************************************************/ -/* +/*" " ** This file is a DG internal header. Never include this ** file directly. */ @@ -1154,7 +1154,7 @@ fix = { */ fix = { hackname = hpux10_cpp_pow_inline; - files = math.h; + files = fixinc-test-limits.h, math.h; select = <<- END_POW_INLINE ^# +ifdef +__cplusplus +} @@ -2091,23 +2091,23 @@ fix = { * initializer to "{0}" instead */ fix = { - hackname = solaris_mutex_init; - select = '@\(#\)pthread.h' "[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI"; - files = pthread.h; - c_fix = format; - c_fix_arg = "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n" - "%0\n" - "#else\n" - "%1, {0}}%3\n" - "#endif"; - 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" - "#define PTHREAD_COND_INITIALIZER\t{{{0}, 0}, 0}\t/* DEFAULTCV */\n" - "#define PTHREAD_RWLOCK_INITIALIZER\t" - "{0, 0, 0, {0, 0, 0}, {0, 0}, {0, 0}}"; + hackname = solaris_mutex_init; + select = '@\(#\)pthread.h' "[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI"; + files = pthread.h; + c_fix = format; + c_fix_arg = "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n" + "%0\n" + "#else\n" + "%1, {0}}%3\n" + "#endif"; + 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" + "#define PTHREAD_COND_INITIALIZER\t{{{0}, 0}, 0}\t/* DEFAULTCV */\n" + "#define PTHREAD_RWLOCK_INITIALIZER\t" + "{0, 0, 0, {0, 0, 0}, {0, 0}, {0, 0}}"; };