summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1992-03-31 22:17:47 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1992-03-31 22:17:47 +0000
commit9be900835d5c57daccbffdc9c6dad617fa14de4f (patch)
tree4f1de33a5bed2011a8c7acda0ec89b76a880bfe6 /gcc/toplev.c
parent03506ec1edd22df7925714e9ca4a5d4c32ec0555 (diff)
downloadgcc-9be900835d5c57daccbffdc9c6dad617fa14de4f.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 257f52f8296..d7164d85dc2 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -338,6 +338,13 @@ int flag_omit_frame_pointer = 0;
int flag_no_peephole = 0;
+/* Nonzero allows GCC to violate some IEEE or ANSI rules regarding math
+ operations in the interest of optimization. For example it allows
+ GCC to assume arguments to sqrt are nonnegative numbers, allowing
+ faster code for sqrt to be generated. */
+
+int flag_fast_math = 0;
+
/* Nonzero means all references through pointers are volatile. */
int flag_volatile;
@@ -468,6 +475,7 @@ struct { char *string; int *variable; int on_value;} f_options[] =
{"schedule-insns2", &flag_schedule_insns_after_reload, 1},
{"pic", &flag_pic, 1},
{"PIC", &flag_pic, 2},
+ {"fast-math", &flag_fast_math, 1},
{"common", &flag_no_common, 0},
{"inhibit-size-directive", &flag_inhibit_size_directive, 1},
{"gnu-linker", &flag_gnu_linker, 1}