HUGE_VALF and HUGE_VALL unless __GLIBC__ is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104361
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-09-16 Joseph S. Myers <joseph@codesourcery.com>
+
+ * g++.dg/warn/huge-val1.C: Disable tests on values of HUGE_VAL,
+ HUGE_VALF and HUGE_VALL unless __GLIBC__ is defined.
+
2005-09-16 Mark Mitchell <mark@codesourcery.com>
PR c++/23914
int
main ()
{
+#ifdef __GLIBC__
if (HUGE_VAL != __builtin_huge_val ())
link_failure ();
#ifdef HUGE_VALF
if (HUGE_VALL != __builtin_huge_vall ())
link_failure ();
#endif
+#endif
}