diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-09-15 20:09:27 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-09-15 20:09:27 +0100 |
commit | 77923c29383974626f7eb30cb69abb20db3cb2bc (patch) | |
tree | 09c7d56df5e7852774bb3a461cda54ed55c02121 /fixincludes/tests | |
parent | 451e92db80435a2f60aa2483b29647ba4931d7f4 (diff) | |
download | gcc-77923c29383974626f7eb30cb69abb20db3cb2bc.tar.gz |
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
Diffstat (limited to 'fixincludes/tests')
-rw-r--r-- | fixincludes/tests/base/bits/huge_val.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/fixincludes/tests/base/bits/huge_val.h b/fixincludes/tests/base/bits/huge_val.h new file mode 100644 index 00000000000..f8bb0495b9d --- /dev/null +++ b/fixincludes/tests/base/bits/huge_val.h @@ -0,0 +1,27 @@ +/* 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 */ |