aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppbuiltin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppbuiltin.c')
-rw-r--r--gcc/cppbuiltin.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/cppbuiltin.c b/gcc/cppbuiltin.c
index 2c6bcfa..e112ee8 100644
--- a/gcc/cppbuiltin.c
+++ b/gcc/cppbuiltin.c
@@ -110,6 +110,16 @@ define_builtin_macros_for_compilation_flags (cpp_reader *pfile)
cpp_define (pfile, "__SUPPORT_SNAN__");
if (!flag_errno_math)
cpp_define (pfile, "__NO_MATH_ERRNO__");
+ if (flag_reciprocal_math)
+ cpp_define (pfile, "__RECIPROCAL_MATH__");
+ if (!flag_signed_zeros)
+ cpp_define (pfile, "__NO_SIGNED_ZEROS__");
+ if (!flag_trapping_math)
+ cpp_define (pfile, "__NO_TRAPPING_MATH__");
+ if (flag_associative_math)
+ cpp_define (pfile, "__ASSOCIATIVE_MATH__");
+ if (flag_rounding_math)
+ cpp_define (pfile, "__ROUNDING_MATH__");
cpp_define_formatted (pfile, "__FINITE_MATH_ONLY__=%d",
flag_finite_math_only);