gcc/fixincludes/tests/base/bits/huge_val.h
Joseph Myers 77923c2938 re PR target/23139 (-pedantic -ffast-math breaks working code)
fixincludes:
	PR c++/23139
	* inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
	fixes.
	* fixincl.x: Regenerate.
	* tests/base/bits/huge_val.h: New file.

gcc/testsuite:
	* g++.dg/warn/huge-val1.C: New test.

From-SVN: r104315
2005-09-15 20:09:27 +01:00

28 lines
569 B
C

/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/bits/huge_val.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( HUGE_VAL_HEX_CHECK )
#define HUGE_VAL (__builtin_huge_val())
#endif /* HUGE_VAL_HEX_CHECK */
#if defined( HUGE_VALF_HEX_CHECK )
#define HUGE_VALF (__builtin_huge_valf())
#endif /* HUGE_VALF_HEX_CHECK */
#if defined( HUGE_VALL_HEX_CHECK )
#define HUGE_VALL (__builtin_huge_vall())
#endif /* HUGE_VALL_HEX_CHECK */