diff options
author | Ian Lance Taylor <iant@google.com> | 2011-02-08 17:41:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-02-08 17:41:00 +0000 |
commit | 5e46b0c65bad1b8569d6005f86465ecb020a6715 (patch) | |
tree | 8fc008788b764f0ba0d67864e8566ca53db122f5 /gcc/optc-gen.awk | |
parent | 32243d46707ec76650af0e33cdf77ee3fc3600eb (diff) | |
download | gcc-5e46b0c65bad1b8569d6005f86465ecb020a6715.zip gcc-5e46b0c65bad1b8569d6005f86465ecb020a6715.tar.gz gcc-5e46b0c65bad1b8569d6005f86465ecb020a6715.tar.bz2 |
common.opt (fcx-limited-range): Add SetByCombined flag.
* 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.
From-SVN: r169930
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 4aaa2a6..502b23b 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;" |