This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch submission for -Wmissing-noreturn
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch submission for -Wmissing-noreturn
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 19 Oct 1998 19:38:43 -0600
- cc: mark at markmitchell dot com, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199810161545.LAA21825@caip.rutgers.edu>you write:
> Here is the final -Wmissing-noreturn patch. It only gets
> activated when asked for. Ie not in -W -Wall. Is this okay to install?
>
> Tue Oct 13 23:10:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * c-decl.c (warn_missing_noreturn): New global variable.
> (c_decode_option): Check for new flags -W{no-}missing-noreturn.
> (finish_function): Implement missing noreturn warning.
>
> * c-tree.h (warn_missing_noreturn): Declare extern.
>
> * invoke.texi: Document new flags.
>
> * toplev.c (documented_lang_options): Add description.
This is fine. Thanks!
jeff