This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Close PR 150: division by zero [take 2]
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: [RFA] Close PR 150: division by zero [take 2]
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Mon, 22 Oct 2001 21:19:15 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>
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