diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-08 17:41:00 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-08 17:41:00 +0000 |
commit | ecee1b296d7a3e1bf2a7613eac325a9d761e8a1c (patch) | |
tree | 8fc008788b764f0ba0d67864e8566ca53db122f5 /gcc/optc-gen.awk | |
parent | a735976018759ccf5c634e13480d676dbd33304d (diff) | |
download | gcc-ecee1b296d7a3e1bf2a7613eac325a9d761e8a1c.tar.gz |
* common.opt (fcx-limited-range): Add SetByCombined flag.
(ffinite-math-only, fmath-errno, frounding-math): Likewise.
(fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise.
(fassociative-math, freciprocal-math): Likewise.
(funsafe-math-optimizations): Likewise.
* opth-gen.awk: Handle SetByCombined.
* optc-gen.awk: Likewise.
* opts.c (set_fast_math_flags): Don't override flag if set by
frontend.
(set_unsafe_math_optimizations_flags): Likewise.
* doc/options.texi (Option properties): Document SetByCombined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169930 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optc-gen.awk')
-rw-r--r-- | gcc/optc-gen.awk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk index 4aaa2a6041a..502b23bf6e0 100644 --- a/gcc/optc-gen.awk +++ b/gcc/optc-gen.awk @@ -1,4 +1,4 @@ -# Copyright (C) 2003, 2004, 2007, 2008, 2009, 2010 +# Copyright (C) 2003, 2004, 2007, 2008, 2009, 2010, 2011 # Free Software Foundation, Inc. # Contributed by Kelley Cook, June 2004. # Original code from Neil Booth, May 2003. @@ -250,6 +250,10 @@ for (i = 0; i < n_opts; i++) { print "#undef x_" name } } +for (i = 0; i < n_opts; i++) { + if (flag_set_p("SetByCombined", flags[i])) + print " false, /* frontend_set_" var_name(flags[i]) " */" +} print "};" print "" print "struct gcc_options global_options;" |