From 6462eafacbb1940b1074b105d24c7bad09923f4b Mon Sep 17 00:00:00 2001 From: Hartmut Schirmer Date: Thu, 11 Oct 2001 15:53:57 +0000 Subject: [PATCH] float-i128.h: Make sure __STDC__VERSION__ is defined before using it. * config/float-i128.h: Make sure __STDC__VERSION__ is defined before using it. * config/float/i32.h: Likewise. * config/float-i386.h: Likewise. * config/float-i64.h: Likewise. * config/float-m68k.h: Likewise. * config/float-sh.h: Likewise. * config/float-sparc.h: Likewise. From-SVN: r46187 --- gcc/ChangeLog | 11 +++++++++++ gcc/config/float-i128.h | 2 +- gcc/config/float-i32.h | 2 +- gcc/config/float-i386.h | 2 +- gcc/config/float-i64.h | 2 +- gcc/config/float-m68k.h | 2 +- gcc/config/float-sh.h | 2 +- gcc/config/float-sparc.h | 2 +- 8 files changed, 18 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9028c3d7d6..7086dc36829 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2001-10-10 Hartmut Schirmer + + * config/float-i128.h: Make sure __STDC__VERSION__ is defined + before using it. + * config/float/i32.h: Likewise. + * config/float-i386.h: Likewise. + * config/float-i64.h: Likewise. + * config/float-m68k.h: Likewise. + * config/float-sh.h: Likewise. + * config/float-sparc.h: Likewise. + 2001-10-11 Hans-Peter Nilsson * doc/contrib.texi: Add note about CRIS port to my entry. diff --git a/gcc/config/float-i128.h b/gcc/config/float-i128.h index f7ce3b34894..c61c82f18ac 100644 --- a/gcc/config/float-i128.h +++ b/gcc/config/float-i128.h @@ -93,7 +93,7 @@ #undef LDBL_MAX_10_EXP #define LDBL_MAX_10_EXP 4932 -#if __STDC_VERSION__ >= 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* The floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and diff --git a/gcc/config/float-i32.h b/gcc/config/float-i32.h index 27e3394a5fb..3e633d8f38d 100644 --- a/gcc/config/float-i32.h +++ b/gcc/config/float-i32.h @@ -93,7 +93,7 @@ #undef LDBL_MAX_10_EXP #define LDBL_MAX_10_EXP 38 -#if __STDC_VERSION__ >= 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* The floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and diff --git a/gcc/config/float-i386.h b/gcc/config/float-i386.h index 075f2eed736..6abb4f2b7b2 100644 --- a/gcc/config/float-i386.h +++ b/gcc/config/float-i386.h @@ -94,7 +94,7 @@ #undef LDBL_MAX_10_EXP #define LDBL_MAX_10_EXP 4932 -#if __STDC_VERSION__ >= 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* The floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and diff --git a/gcc/config/float-i64.h b/gcc/config/float-i64.h index b045fb35eef..735f7423635 100644 --- a/gcc/config/float-i64.h +++ b/gcc/config/float-i64.h @@ -93,7 +93,7 @@ #undef LDBL_MAX_10_EXP #define LDBL_MAX_10_EXP 308 -#if __STDC_VERSION__ >= 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* The floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and diff --git a/gcc/config/float-m68k.h b/gcc/config/float-m68k.h index c942b1da913..837126b7de5 100644 --- a/gcc/config/float-m68k.h +++ b/gcc/config/float-m68k.h @@ -94,7 +94,7 @@ #undef LDBL_MAX_10_EXP #define LDBL_MAX_10_EXP 4932 -#if __STDC_VERSION__ >= 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* The floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and diff --git a/gcc/config/float-sh.h b/gcc/config/float-sh.h index 0ff8d3b3cce..598994b5376 100644 --- a/gcc/config/float-sh.h +++ b/gcc/config/float-sh.h @@ -130,7 +130,7 @@ #undef LDBL_MAX_10_EXP #define LDBL_MAX_10_EXP 308 -#if __STDC_VERSION__ >= 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* The floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and diff --git a/gcc/config/float-sparc.h b/gcc/config/float-sparc.h index 307528e07b3..f3c258388b1 100644 --- a/gcc/config/float-sparc.h +++ b/gcc/config/float-sparc.h @@ -119,7 +119,7 @@ #endif /* sparc32 */ -#if __STDC_VERSION__ >= 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* The floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and