Commit b5639a49 by Bruce Korb Committed by Bruce Korb

accommodate __STDC__ == 0 tests in UW 2.1.2 Remove all the fix suppression...

accommodate __STDC__ == 0 tests in UW 2.1.2
Remove all the fix suppression "fixes"
adjust sample results for changes in fixes

From-SVN: r48193
parent 871c5f6b
2001-12-19 Bruce Korb <bkorb@gnu.org>
* gcc/fixinc/inclhack.def: Remove all the fix suppression "fixes".
(strict_ansi_not_ctd): accommodate __STDC__ == 0 tests in UW 2.1.2
* gcc/fixinc/mkfixinc.sh(i?86-*-sysv4.2uw2*): now uses fixincl program
* gcc/fixinc/base/...: adjust for changes in fixes
2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
* po/gcc.pot: Regenerate.
......
......@@ -14,7 +14,7 @@ echo constructing ${target} for $machine to run on $build
fixincludes="${machine}"
# Choose one or two-process fix methodology. Systems that cannot handle
# bi-directional pipes must use the twoprocess method.
# bi-directional pipes must use the two process method.
#
case $build in
i?86-*-msdosdjgpp* | \
......@@ -35,55 +35,66 @@ esac
# Check for special fix rules for particular targets
case $machine in
*-*-sysv4* )
fixincludes=fixinc.svr4
;;
i?86-*-interix* | \
alpha-*-interix*)
fixincludes=fixinc.interix
;;
i?86-*-openbsd*)
fixincludes=fixinc.wrap
;;
alpha*-*-winnt* | \
i?86-*-winnt3*)
fixincludes=fixinc.winnt
;;
i?86-sequent-ptx* | i?86-sequent-sysv[34]*)
fixincludes=fixinc.ptx
;;
alpha*-dec-*vms* | \
arm-semi-aout | armel-semi-aout | \
arm-semi-aof | armel-semi-aof | \
c*-convex-* | \
hppa1.1-*-osf* | \
hppa1.0-*-osf* | \
hppa1.1-*-bsd* | \
hppa1.0-*-bsd* | \
hppa*-*-lites* | \
i?86-moss-msdos* | i?86-*-moss* | \
i?86-*-osf1* | \
i?86-*-win32 | \
i?86-*-pe | i?86-*-cygwin* | \
i?86-*-mingw32* | \
i?86-*-uwin* | \
mips-sgi-irix5cross64 | \
powerpc-*-eabiaix* | \
powerpc-*-eabisim* | \
powerpc-*-eabi* | \
powerpc-*-rtems* | \
powerpcle-*-eabisim* | \
powerpcle-*-eabi* | \
powerpcle-*-winnt* | \
powerpcle-*-pe | powerpcle-*-cygwin* | \
thumb-*-coff* | thumbel-*-coff* )
fixincludes=
;;
i?86-*-sysv4.2uw2* )
;;
*-*-sysv4* )
fixincludes=fixinc.svr4
;;
i?86-*-interix* | \
alpha-*-interix*)
fixincludes=fixinc.interix
;;
i?86-*-openbsd*)
fixincludes=fixinc.wrap
;;
alpha*-*-winnt* | \
i?86-*-winnt3*)
fixincludes=fixinc.winnt
;;
i?86-sequent-ptx* | i?86-sequent-sysv[34]*)
fixincludes=fixinc.ptx
;;
alpha*-dec-vms* | \
arm-semi-aout | \
armel-semi-aout | \
arm-semi-aof | \
armel-semi-aof | \
c*-convex-* | \
hppa1.1-*-osf* | \
hppa1.0-*-osf* | \
hppa1.1-*-bsd* | \
hppa1.0-*-bsd* | \
hppa*-*-lites* | \
i?86-moss-msdos* | \
i?86-*-moss* | \
i?86-*-osf1* | \
i?86-*-win32 | \
i?86-*-pe | \
i?86-*-cygwin* | \
i?86-*-mingw32* | \
i?86-*-uwin* | \
mips-sgi-irix5cross64 | \
powerpc-*-eabiaix* | \
powerpc-*-eabisim* | \
powerpc-*-eabi* | \
powerpc-*-rtems* | \
powerpcle-*-eabisim* | \
powerpcle-*-eabi* | \
powerpcle-*-winnt* | \
powerpcle-*-pe | \
powerpcle-*-cygwin* | \
thumb-*-coff* | \
thumbel-*-coff* )
# Don't do any fixing.
#
fixincludes=
;;
esac
# IF there is no include fixing,
......
......@@ -9,6 +9,11 @@
#if defined( HPUX10_CPP_POW_INLINE_CHECK )
#endif /* HPUX10_CPP_POW_INLINE_CHECK */
#if defined( IRIX_LIMITS_CONST_CHECK )
extern __const char limit; /* test limits */
#endif /* IRIX_LIMITS_CONST_CHECK */
......@@ -35,11 +35,6 @@ extern double floor(), ceil(), fmod(), fabs _PARAMS((double));
#endif /* FIX_HEADER_BREAKAGE_CHECK */
#if defined( HPUX10_CPP_POW_INLINE_CHECK )
#endif /* HPUX10_CPP_POW_INLINE_CHECK */
#if defined( HPUX11_CPP_POW_INLINE_CHECK )
#endif /* HPUX11_CPP_POW_INLINE_CHECK */
......@@ -47,8 +42,10 @@ extern double floor(), ceil(), fmod(), fabs _PARAMS((double));
#if defined( HPUX11_FABSF_CHECK )
#ifdef _PA_RISC
#ifndef __cplusplus
# define fabsf(x) ((float)fabs((double)(float)(x)))
#endif
#endif
#endif /* HPUX11_FABSF_CHECK */
......@@ -108,7 +105,10 @@ extern int class();
#if defined( STRICT_ANSI_NOT_CTD_CHECK )
#if 1|| !defined(__STRICT_ANSI__) /* not std C */
#if 1 && \
&& defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \
( !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \
|| !defined(__STRICT_ANSI__) ) /* not std C */
int foo;
#endif
#endif /* STRICT_ANSI_NOT_CTD_CHECK */
......
......@@ -20,7 +20,7 @@ extern int getopt(int, char *const[], const char *);
#if defined( HPUX11_VSNPRINTF_CHECK )
extern int vsnprintf(char *, __size_t, const char *, __gnuc_va_list);
extern int vsnprintf(char *, _hpux_size_t, const char *, __gnuc_va_list);
#endif /* HPUX11_VSNPRINTF_CHECK */
......@@ -75,4 +75,9 @@ extern char *tempnam( const char *, const char *);
#endif /* ULTRIX_CONST2_CHECK */
#if defined( UNICOSMK_RESTRICT_CHECK )
void f (char * __restrict__ x);
#endif /* UNICOSMK_RESTRICT_CHECK */
#endif /* FIXINC_STDIO_STDARG_H_CHECK */
......@@ -36,6 +36,13 @@ extern __DJ_wint_t x;
#endif /* DJGPP_WCHAR_H_CHECK */
#if defined( HPUX11_SIZE_T_CHECK )
#define _hpux_size_t size_t
extern int getpwuid_r( char *, _hpux_size_t, struct passwd **);
#endif /* HPUX11_SIZE_T_CHECK */
#if defined( IO_QUOTES_DEF_CHECK )
#define BSD43__IOWR(n, x) ((n<<8)+x)
#define _IOWN(x,y,t) (_IOC_IN|(((t)&_IOCPARM_MASK)<<16)|(x<<8)|y)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment