diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-05-13 17:38:41 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-05-13 17:38:41 +0000 |
commit | b38456e9bc91f731fc234e76c5cba749517ac330 (patch) | |
tree | d1dbf250ac0d8d854f2899938381ccef5fbb74fa /gcc/common.opt | |
parent | 2d7f681ff90b0dda27c90e29558a93ddd6d5f289 (diff) |
2012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
c-family/
* c.opt (Wclobbered,Wempty-body,Wignored-qualifiers,
Wmissing-field-initializers,Wmissing-parameter-type,
Wold-style-declaration,Woverride-init): Use EnabledBy.
* c-opts.c (c_common_post_options): Do not set here explicitly.
gcc/
* common.opt (Wtype-limits): Use EnabledBy.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@187441 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 375c10d713e..9e3ba180c6d 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -646,7 +646,7 @@ Common Var(warn_trampolines) Warning Warn whenever a trampoline is generated Wtype-limits -Common Var(warn_type_limits) Init(-1) Warning +Common Var(warn_type_limits) Warning EnabledBy(Wextra) Warn if a comparison is always true or always false due to the limited range of the data type Wuninitialized |