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> 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
* po/gcc.pot: Regenerate. * po/gcc.pot: Regenerate.
......
...@@ -14,7 +14,7 @@ echo constructing ${target} for $machine to run on $build ...@@ -14,7 +14,7 @@ echo constructing ${target} for $machine to run on $build
fixincludes="${machine}" fixincludes="${machine}"
# Choose one or two-process fix methodology. Systems that cannot handle # 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 case $build in
i?86-*-msdosdjgpp* | \ i?86-*-msdosdjgpp* | \
...@@ -35,55 +35,66 @@ esac ...@@ -35,55 +35,66 @@ esac
# Check for special fix rules for particular targets # Check for special fix rules for particular targets
case $machine in case $machine in
*-*-sysv4* ) i?86-*-sysv4.2uw2* )
fixincludes=fixinc.svr4 ;;
;;
*-*-sysv4* )
i?86-*-interix* | \ fixincludes=fixinc.svr4
alpha-*-interix*) ;;
fixincludes=fixinc.interix
;; i?86-*-interix* | \
alpha-*-interix*)
i?86-*-openbsd*) fixincludes=fixinc.interix
fixincludes=fixinc.wrap ;;
;;
i?86-*-openbsd*)
alpha*-*-winnt* | \ fixincludes=fixinc.wrap
i?86-*-winnt3*) ;;
fixincludes=fixinc.winnt
;; alpha*-*-winnt* | \
i?86-*-winnt3*)
i?86-sequent-ptx* | i?86-sequent-sysv[34]*) fixincludes=fixinc.winnt
fixincludes=fixinc.ptx ;;
;;
i?86-sequent-ptx* | i?86-sequent-sysv[34]*)
alpha*-dec-*vms* | \ fixincludes=fixinc.ptx
arm-semi-aout | armel-semi-aout | \ ;;
arm-semi-aof | armel-semi-aof | \
c*-convex-* | \ alpha*-dec-vms* | \
hppa1.1-*-osf* | \ arm-semi-aout | \
hppa1.0-*-osf* | \ armel-semi-aout | \
hppa1.1-*-bsd* | \ arm-semi-aof | \
hppa1.0-*-bsd* | \ armel-semi-aof | \
hppa*-*-lites* | \ c*-convex-* | \
i?86-moss-msdos* | i?86-*-moss* | \ hppa1.1-*-osf* | \
i?86-*-osf1* | \ hppa1.0-*-osf* | \
i?86-*-win32 | \ hppa1.1-*-bsd* | \
i?86-*-pe | i?86-*-cygwin* | \ hppa1.0-*-bsd* | \
i?86-*-mingw32* | \ hppa*-*-lites* | \
i?86-*-uwin* | \ i?86-moss-msdos* | \
mips-sgi-irix5cross64 | \ i?86-*-moss* | \
powerpc-*-eabiaix* | \ i?86-*-osf1* | \
powerpc-*-eabisim* | \ i?86-*-win32 | \
powerpc-*-eabi* | \ i?86-*-pe | \
powerpc-*-rtems* | \ i?86-*-cygwin* | \
powerpcle-*-eabisim* | \ i?86-*-mingw32* | \
powerpcle-*-eabi* | \ i?86-*-uwin* | \
powerpcle-*-winnt* | \ mips-sgi-irix5cross64 | \
powerpcle-*-pe | powerpcle-*-cygwin* | \ powerpc-*-eabiaix* | \
thumb-*-coff* | thumbel-*-coff* ) powerpc-*-eabisim* | \
fixincludes= 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 esac
# IF there is no include fixing, # IF there is no include fixing,
......
...@@ -9,6 +9,11 @@ ...@@ -9,6 +9,11 @@
#if defined( HPUX10_CPP_POW_INLINE_CHECK )
#endif /* HPUX10_CPP_POW_INLINE_CHECK */
#if defined( IRIX_LIMITS_CONST_CHECK ) #if defined( IRIX_LIMITS_CONST_CHECK )
extern __const char limit; /* test limits */ extern __const char limit; /* test limits */
#endif /* IRIX_LIMITS_CONST_CHECK */ #endif /* IRIX_LIMITS_CONST_CHECK */
...@@ -35,11 +35,6 @@ extern double floor(), ceil(), fmod(), fabs _PARAMS((double)); ...@@ -35,11 +35,6 @@ extern double floor(), ceil(), fmod(), fabs _PARAMS((double));
#endif /* FIX_HEADER_BREAKAGE_CHECK */ #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 ) #if defined( HPUX11_CPP_POW_INLINE_CHECK )
#endif /* HPUX11_CPP_POW_INLINE_CHECK */ #endif /* HPUX11_CPP_POW_INLINE_CHECK */
...@@ -47,8 +42,10 @@ extern double floor(), ceil(), fmod(), fabs _PARAMS((double)); ...@@ -47,8 +42,10 @@ extern double floor(), ceil(), fmod(), fabs _PARAMS((double));
#if defined( HPUX11_FABSF_CHECK ) #if defined( HPUX11_FABSF_CHECK )
#ifdef _PA_RISC #ifdef _PA_RISC
#ifndef __cplusplus
# define fabsf(x) ((float)fabs((double)(float)(x))) # define fabsf(x) ((float)fabs((double)(float)(x)))
#endif #endif
#endif
#endif /* HPUX11_FABSF_CHECK */ #endif /* HPUX11_FABSF_CHECK */
...@@ -108,7 +105,10 @@ extern int class(); ...@@ -108,7 +105,10 @@ extern int class();
#if defined( STRICT_ANSI_NOT_CTD_CHECK ) #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; int foo;
#endif #endif
#endif /* STRICT_ANSI_NOT_CTD_CHECK */ #endif /* STRICT_ANSI_NOT_CTD_CHECK */
......
...@@ -20,7 +20,7 @@ extern int getopt(int, char *const[], const char *); ...@@ -20,7 +20,7 @@ extern int getopt(int, char *const[], const char *);
#if defined( HPUX11_VSNPRINTF_CHECK ) #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 */ #endif /* HPUX11_VSNPRINTF_CHECK */
...@@ -75,4 +75,9 @@ extern char *tempnam( const char *, const char *); ...@@ -75,4 +75,9 @@ extern char *tempnam( const char *, const char *);
#endif /* ULTRIX_CONST2_CHECK */ #endif /* ULTRIX_CONST2_CHECK */
#if defined( UNICOSMK_RESTRICT_CHECK )
void f (char * __restrict__ x);
#endif /* UNICOSMK_RESTRICT_CHECK */
#endif /* FIXINC_STDIO_STDARG_H_CHECK */ #endif /* FIXINC_STDIO_STDARG_H_CHECK */
...@@ -36,6 +36,13 @@ extern __DJ_wint_t x; ...@@ -36,6 +36,13 @@ extern __DJ_wint_t x;
#endif /* DJGPP_WCHAR_H_CHECK */ #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 ) #if defined( IO_QUOTES_DEF_CHECK )
#define BSD43__IOWR(n, x) ((n<<8)+x) #define BSD43__IOWR(n, x) ((n<<8)+x)
#define _IOWN(x,y,t) (_IOC_IN|(((t)&_IOCPARM_MASK)<<16)|(x<<8)|y) #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