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: [RFA] Close PR 150: division by zero [take 2]


On Mon, 22 Oct 2001, Neil Booth wrote:

> 	* c-common.c (warn_div_by_zero): New.
> 	* c-common.h (warn_div_by_zero): New.
> 	* c-decl.c (c_decode_option): Take it on the command line.
>  	* c-typeck.c (build_binary_op): Warn about division by zero.
> 	* doc/invoke.texi: Document the new command line option, fix
> 	documentation of -Wmultichar.
>  	* testsuite/gcc.dg/divbyzero.c: New tests.
>  	* testsuite/gcc.dg/noncompile/20010524-1.c: Update.

OK.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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