summaryrefslogtreecommitdiff
path: root/gcc/cppbuiltin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppbuiltin.c')
-rw-r--r--gcc/cppbuiltin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppbuiltin.c b/gcc/cppbuiltin.c
index 7ed6080b201..ffee4c02994 100644
--- a/gcc/cppbuiltin.c
+++ b/gcc/cppbuiltin.c
@@ -90,7 +90,7 @@ define_builtin_macros_for_compilation_flags (cpp_reader *pfile)
if (optimize)
cpp_define (pfile, "__OPTIMIZE__");
- if (fast_math_flags_set_p ())
+ if (fast_math_flags_set_p (&global_options))
cpp_define (pfile, "__FAST_MATH__");
if (flag_signaling_nans)
cpp_define (pfile, "__SUPPORT_SNAN__");