* gcc.dg/single-precision-constant.c: Tweak for non-C99 runtimes.
From-SVN: r111638
+2006-03-02 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * gcc.dg/single-precision-constant.c: Tweak for non-C99 runtimes.
+
2006-03-01 Mike Stump <mrs@apple.com>
* g++.dg/abi/key2.C: Add.
#include <math.h>
#include <float.h>
+#include "builtins-config.h"
+
int main (void)
{
int result = 0;
double local_DBL_MAX = DBL_MAX;
double local_DBL_MIN = DBL_MIN;
+#ifdef HAVE_C99_RUNTIME
if (isinf (local_DBL_MAX))
result |= 1;
+#endif
if (local_DBL_MIN <= 0.0)
result |= 1;
return result;