From: Phil Edwards Date: Fri, 5 Jan 2001 19:12:21 +0000 (+0000) Subject: lang-options.h: Bring comment in line with reality. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b4e6a16446eba9f3db3d2d31b2563f7c0bf8192;p=gcc.git lang-options.h: Bring comment in line with reality. 2001-01-05 Phil Edwards * cp/lang-options.h: Bring comment in line with reality. * f/lang-options.h: Likewise. * java/lang-options.h: Likewise. * objc/lang-options.h: Likewise. * ch/lang-options.h: Likewise. * f/g77.texi: And update the manual. From-SVN: r38719 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e72e4e8181f..b9358cbcd6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2001-01-05 Phil Edwards + + * cp/lang-options.h: Bring comment in line with reality. + * f/lang-options.h: Likewise. + * java/lang-options.h: Likewise. + * objc/lang-options.h: Likewise. + * ch/lang-options.h: Likewise. + * f/g77.texi: And update the manual. + 2001-01-05 Marek Michalkiewicz Denis Chertykov diff --git a/gcc/ch/lang-options.h b/gcc/ch/lang-options.h index 1482680530a..69797cbd491 100644 --- a/gcc/ch/lang-options.h +++ b/gcc/ch/lang-options.h @@ -18,11 +18,8 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* This is the contribution to the `lang_options' array in gcc.c for - CHILL. */ - -/* CYGNUS LOCAL - the format of this file has been changed to - allow cc1 to implement --help. nickc/--help */ +/* This is the contribution to the `documented_lang_options' array in + toplev.c for CHILL. */ DEFINE_LANG_NAME ("Chill") diff --git a/gcc/cp/lang-options.h b/gcc/cp/lang-options.h index 623cee2854d..64fdf2a32e5 100644 --- a/gcc/cp/lang-options.h +++ b/gcc/cp/lang-options.h @@ -21,8 +21,8 @@ Boston, MA 02111-1307, USA. */ DEFINE_LANG_NAME ("C++") -/* This is the contribution to the `lang_options' array in gcc.c for - g++. */ +/* This is the contribution to the `documented_lang_options' array in + toplev.c for g++. */ { "-faccess-control", "" }, { "-fno-access-control", "Do not obey access control semantics" }, diff --git a/gcc/f/g77.texi b/gcc/f/g77.texi index 417f6c815fe..93d1eab0771 100644 --- a/gcc/f/g77.texi +++ b/gcc/f/g77.texi @@ -13889,7 +13889,7 @@ when compiling most any kind of program. which is used during the build of @code{gcc} to build a list of all options that are accepted by at least one language's compiler. -This list goes into the @code{lang_options} array +This list goes into the @code{documented_lang_options} array in @file{gcc/toplev.c}, which uses this array to determine whether a particular option should be offered to the linked-in front end for processing diff --git a/gcc/f/lang-options.h b/gcc/f/lang-options.h index c085aea08ee..7d501938d7f 100644 --- a/gcc/f/lang-options.h +++ b/gcc/f/lang-options.h @@ -21,8 +21,8 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA */ -/* This is the contribution to the `lang_options' array in gcc.c for - g77. */ +/* This is the contribution to the `documented_lang_options' array in + toplev.c for g77. */ #ifdef __STDC__ /* To be consistent with lang-specs.h. Maybe avoid overflowing some old compiler's tables, etc. */ diff --git a/gcc/java/lang-options.h b/gcc/java/lang-options.h index e838813e0e8..9717dbd0c5e 100644 --- a/gcc/java/lang-options.h +++ b/gcc/java/lang-options.h @@ -22,8 +22,8 @@ Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. The Free Software Foundation is independent of Sun Microsystems, Inc. */ -/* This is the contribution to the `lang_options' array in gcc.c for - java. */ +/* This is the contribution to the `documented_lang_options' array in + toplev.c for java. */ DEFINE_LANG_NAME ("Java") diff --git a/gcc/objc/lang-options.h b/gcc/objc/lang-options.h index bc512646361..6dab315ba85 100644 --- a/gcc/objc/lang-options.h +++ b/gcc/objc/lang-options.h @@ -22,8 +22,8 @@ Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. The Free Software Foundation is independent of Sun Microsystems, Inc. */ -/* This is the contribution to the `lang_options' array in gcc.c for - Objective-C. */ +/* This is the contribution to the `documented_lang_options' array in + toplev.c for Objective-C. */ DEFINE_LANG_NAME ("Objective C")