summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2012-10-16 15:31:46 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2012-10-16 15:31:46 +0000
commit65d4f2cd2a488125a6522eeb6c9df5f890c7086f (patch)
tree4ce566a273abe5c8b53f22c6bfb4b3a8226b26e0 /gcc/flags.h
parent80de67b8059a3df4ef55dd2837a69bc4b0bc26f2 (diff)
re PR c/53063 (encode group options in the .opt files)
2012-10-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c/53063 PR c/40989 gcc/ * optc-gen.awk: Handle new form of LangEnabledBy. * opts.c (set_Wstrict_aliasing): Declare here. Make static. * common.opt (Wstrict-aliasing=,Wstrict-overflow=): Do not use Init. * doc/options.texi (LangEnabledBy): Document new form. * flags.h (set_Wstrict_aliasing): Do not declare. c-family/ * c.opt (Wstrict-aliasing=,Wstrict-overflow=): Use LangEnabledBy. * c-opts.c (c_common_handle_option): Do not set them here. Add comment. (c_common_post_options): Likewise. testsuite/ * gcc.dg/Wstrict-overflow-24.c: New. From-SVN: r192502
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 141185befc7..d56d5411e7b 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -37,14 +37,6 @@ extern int base_of_path (const char *path, const char **base_out);
extern bool fast_math_flags_set_p (const struct gcc_options *);
extern bool fast_math_flags_struct_set_p (struct cl_optimization *);
-/* Used to set the level of -Wstrict-aliasing in OPTS, when no level
- is specified. The external way to set the default level is to use
- -Wstrict-aliasing=level.
- ONOFF is assumed to take value 1 when -Wstrict-aliasing is specified,
- and 0 otherwise. After calling this function, wstrict_aliasing will be
- set to the default value of -Wstrict_aliasing=level. */
-
-extern void set_Wstrict_aliasing (struct gcc_options *opts, int onoff);
/* Now the symbols that are set with `-f' switches. */