summaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-12 16:25:14 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-12 16:25:14 +0000
commit87c75316828e972767fe35aac2eebd58847831a9 (patch)
tree8132cd1fbca1d1ba829d2d5f28f606f2e09d28b2 /gcc/fortran
parent1dffd068f1f11c688c08d6f564540cb4eb81fa34 (diff)
downloadgcc-87c75316828e972767fe35aac2eebd58847831a9.tar.gz
* doc/invoke.texi (Overall Options): Document --help=.
* gcc.c (target_help_flag): Rename to print_subprocess_flag. (cc1_options): Pass --help= on to cc1. (display_help): Add description of --help=. (process_command): Add code to handle --help=. Allow translated --help and --target-help switches to be passed on to compiler sub-process. (main): Remove unused if statement. * opts.c (columns): Remove. (LEFT_COLUMN): Define. (wrap_help): Add columns argument. (print_filtered_help): Change parameters to be an include bitmask, an exclude bitmask, an any bitmask and the column width. Move the code to display the params list here. Add code to display the status of options rather than their descriptions if the quiet flag is not active. (print_specific_help): Change parameters to be an include bitmask, an exclude bitmask and an any bitmask. Move code to look up the column width here. Decide upon the title for an options listing. (common_handle_options): Add code to handle --help=. Adapt code for --help and --target-help to use the revised form of the print_specific_help function. (print_help): Delete. (print_param_help): Delete. (print_switch): Delete. * opts.h (cl_lang_count): Add prototype. (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_MIN_OPTION_CLASS, CL_MAX_OPTION_CLASS): New defines. * optc-gen.awk: Add construction of cl_lang_count. * c.opt: Add Warning attribute to warning options and Optimization attribute to optimization options. * common.opt: Likewise. Add --help=. Add -fhelp and -ftarget-help as aliases for the transformed --help and --target-help options. * opt-functions.awk: Add code to handle Warning and Optimization attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121849 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/lang.opt22
2 files changed, 15 insertions, 11 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index ae6444a1a7e..86a56529ba8 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-12 Nick Clifton <nickc@redhat.com>
+
+ * lang.opt: Add Warning attribute to warning options.
+
2007-02-11 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi (HOSTNM): Fix typographical error in syntax.
diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
index 60806c58286..b1d5f2288a7 100644
--- a/gcc/fortran/lang.opt
+++ b/gcc/fortran/lang.opt
@@ -1,5 +1,5 @@
; Options for the Fortran 95 front end.
-; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
@@ -38,43 +38,43 @@ Fortran
; Documented in C
Waliasing
-Fortran
+Fortran Warning
Warn about possible aliasing of dummy arguments
Wampersand
-Fortran
+Fortran Warning
Warn about missing ampersand in continued character constants
Wcharacter-truncation
-Fortran
+Fortran Warning
Warn about truncated character expressions
Wconversion
-Fortran
+Fortran Warning
Warn about implicit conversion
Wimplicit-interface
-Fortran
+Fortran Warning
Warn about calls with implicit interface
Wline-truncation
-Fortran
+Fortran Warning
Warn about truncated source lines
Wnonstd-intrinsics
-Fortran
+Fortran Warning
Warn about usage of non-standard intrinsics
Wsurprising
-Fortran
+Fortran Warning
Warn about \"suspicious\" constructs
Wtabs
-Fortran
+Fortran Warning
Permit nonconforming uses of the tab character
Wunderflow
-Fortran
+Fortran Warning
Warn about underflow of numerical constant expressions
fall-intrinsics