Fix check_warning_flags warnings.

gcc/:
	* c.opt (Wjump-misses-init): Fix typo to enable for ObjC.
	* doc/invoke.texi (Warning Options): Annotate allowed languages
	for -Wunsuffixed-float-constants.

From-SVN: r152469
This commit is contained in:
Ralf Wildenhues 2009-10-05 19:54:18 +00:00 committed by Ralf Wildenhues
parent 4a24ddb979
commit da66774323
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* c.opt (Wjump-misses-init): Fix typo to enable for ObjC.
* doc/invoke.texi (Warning Options): Annotate allowed languages
for -Wunsuffixed-float-constants.
2009-10-05 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (modified_type_die): Don't add DW_AT_name to

View File

@ -285,7 +285,7 @@ C ObjC C++ ObjC++ Warning
Warn about PCH files that are found but not used
Wjump-misses-init
C Objc Var(warn_jump_misses_init) Init(-1) Warning
C ObjC Var(warn_jump_misses_init) Init(-1) Warning
Warn when a jump misses a variable initialization
Wlogical-op

View File

@ -4315,7 +4315,7 @@ minimum maximum, so we do not diagnose overlength strings in C++@.
This option is implied by @option{-pedantic}, and can be disabled with
@option{-Wno-overlength-strings}.
@item -Wunsuffixed-float-constants
@item -Wunsuffixed-float-constants @r{(C and Objective-C only)}
@opindex Wunsuffixed-float-constants
GCC will issue a warning for any floating constant that does not have