This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Java: Check null pointers


On Tue, Mar 27, 2001 at 04:34:35PM +0100, Andrew Haley wrote:
> 2001-03-27  Andrew Haley  <aph@cambridge.redhat.com>
> 
> 	* lang-options.h: Add flag_check_references.
> 
> Index: java/lang-options.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/java/lang-options.h,v
> retrieving revision 1.24
> diff -u -r1.24 lang-options.h
> --- lang-options.h	2001/03/23 19:42:25	1.24
> +++ lang-options.h	2001/03/27 15:33:48
> @@ -45,6 +45,8 @@
>    { "-foutput-class-dir", "Directory where class files should be written" },
>    { "-fuse-divide-subroutine", "" },
>    { "-fno-use-divide-subroutine", "Use built-in instructions for division" },
> +  { "-fcheck-references", "Generate null pointer checks inline" },
> +  { "-fno-check-references", "Don't generate null pointer checks inline" },
>    { "-Wredundant-modifiers", 
>      "Warn if modifiers are specified when not necessary"},
>    { "-Wextraneous-semicolon", "Warn if deprecated empty statements are found"},

For option pairs which enable/disable a setting, I think you are
only supposed to document the one which does not represent the
default setting.

Matt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]