diff options
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/dfp/convert-dfp.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/dfp/decfloat-constants.c | 3 |
4 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b5049ac..39365b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2007-03-23 Michael Meissner <michael.meissner@amd.com> + + * gcc.dg/dfp/convert-dfp.c: Wrap __STDC_WANT_DEC_FP__ with + #ifndef/#endif. + * gcc.dg/dfp/convert-int-saturate.c: Ditto. + * gcc.dg/dfp/decfloat-constants.c: Ditto. + 2007-03-24 Paul Thomas <pault@gcc.gnu.org> PR fortran/31209 diff --git a/gcc/testsuite/gcc.dg/dfp/convert-dfp.c b/gcc/testsuite/gcc.dg/dfp/convert-dfp.c index 5afdcf0..b84e67d 100644 --- a/gcc/testsuite/gcc.dg/dfp/convert-dfp.c +++ b/gcc/testsuite/gcc.dg/dfp/convert-dfp.c @@ -6,7 +6,10 @@ Test various conversions involving decimal floating types. */ +#ifndef __STDC_WANT_DEC_FP__ #define __STDC_WANT_DEC_FP__ 1 +#endif + #include <float.h> extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c b/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c index aeaa465..ab4c8d2 100644 --- a/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c +++ b/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c @@ -4,7 +4,10 @@ C99 6.3.1.4(1a) New. Test integer saturation. */ +#ifndef __STDC_WANT_DEC_FP__ #define __STDC_WANT_DEC_FP__ 1 +#endif + #include <float.h> #include <limits.h> diff --git a/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c b/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c index 4980c65..87c9849 100644 --- a/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c +++ b/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c @@ -7,7 +7,10 @@ decimal float defined in float.h. */ /* Make sure we are exporting the right values to float.h. */ +#ifndef __STDC_WANT_DEC_FP__ #define __STDC_WANT_DEC_FP__ 1 +#endif + #include <float.h> extern void abort (void); |