aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/tests
diff options
context:
space:
mode:
authorBruce Korb <bkorb@gnu.org>2001-12-20 04:09:40 +0000
committerBruce Korb <korbb@gcc.gnu.org>2001-12-20 04:09:40 +0000
commitb5639a499ea9d3749f44bbd28328e7ff8a43010c (patch)
treea56a1573afcca0b9d7e88ad679d3abce35ba80ec /gcc/fixinc/tests
parent871c5f6b1df9f0366aa8cbad57db9c98dd85dd06 (diff)
downloadgcc-b5639a499ea9d3749f44bbd28328e7ff8a43010c.zip
gcc-b5639a499ea9d3749f44bbd28328e7ff8a43010c.tar.gz
gcc-b5639a499ea9d3749f44bbd28328e7ff8a43010c.tar.bz2
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
Diffstat (limited to 'gcc/fixinc/tests')
-rw-r--r--gcc/fixinc/tests/base/fixinc-test-limits.h5
-rw-r--r--gcc/fixinc/tests/base/math.h12
-rw-r--r--gcc/fixinc/tests/base/stdio.h7
-rw-r--r--gcc/fixinc/tests/base/testing.h7
4 files changed, 24 insertions, 7 deletions
diff --git a/gcc/fixinc/tests/base/fixinc-test-limits.h b/gcc/fixinc/tests/base/fixinc-test-limits.h
index 36b058c..0422d09 100644
--- a/gcc/fixinc/tests/base/fixinc-test-limits.h
+++ b/gcc/fixinc/tests/base/fixinc-test-limits.h
@@ -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 */
diff --git a/gcc/fixinc/tests/base/math.h b/gcc/fixinc/tests/base/math.h
index 0ac36c1..8cd8c22 100644
--- a/gcc/fixinc/tests/base/math.h
+++ b/gcc/fixinc/tests/base/math.h
@@ -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 */
diff --git a/gcc/fixinc/tests/base/stdio.h b/gcc/fixinc/tests/base/stdio.h
index 87145ce..00d3c83 100644
--- a/gcc/fixinc/tests/base/stdio.h
+++ b/gcc/fixinc/tests/base/stdio.h
@@ -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 */
diff --git a/gcc/fixinc/tests/base/testing.h b/gcc/fixinc/tests/base/testing.h
index aa7dbb1..d58d611 100644
--- a/gcc/fixinc/tests/base/testing.h
+++ b/gcc/fixinc/tests/base/testing.h
@@ -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)