Commit 8d86a532 by Joseph Myers Committed by Joseph Myers

huge-val1.C: Disable tests on values of HUGE_VAL...

	* g++.dg/warn/huge-val1.C: Disable tests on values of HUGE_VAL,
	HUGE_VALF and HUGE_VALL unless __GLIBC__ is defined.

From-SVN: r104361
parent ba80a8b2
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
......@@ -18,6 +18,7 @@ extern void link_failure ();
int
main ()
{
#ifdef __GLIBC__
if (HUGE_VAL != __builtin_huge_val ())
link_failure ();
#ifdef HUGE_VALF
......@@ -28,4 +29,5 @@ main ()
if (HUGE_VALL != __builtin_huge_vall ())
link_failure ();
#endif
#endif
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment