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/opth-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/opth-gen.awk')
-rw-r--r-- | gcc/opth-gen.awk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk index db32121f914..c3f6c04ebfb 100644 --- a/gcc/opth-gen.awk +++ b/gcc/opth-gen.awk @@ -1,4 +1,4 @@ -# Copyright (C) 2003,2004,2005,2006,2007,2008, 2010 +# Copyright (C) 2003,2004,2005,2006,2007,2008, 2010, 2011 # Free Software Foundation, Inc. # Contributed by Kelley Cook, June 2004. # Original code from Neil Booth, May 2003. @@ -193,6 +193,13 @@ for (i = 0; i < n_opts; i++) { print "#endif" } } +for (i = 0; i < n_opts; i++) { + if (flag_set_p("SetByCombined", flags[i])) { + print "#ifndef GENERATOR_FILE" + print " bool frontend_set_" var_name(flags[i]) ";" + print "#endif" + } +} print "#ifndef GENERATOR_FILE" print "};" print "extern struct gcc_options global_options;" |