c-decl.c (c_decode_option): Remove support of -Wmissing-noreturn.
commit21c7361e4047bdf15f384ae2bd9c9868063f8025
authorAndreas Jaeger <aj@gcc.gnu.org>
Tue, 2 Jan 2001 07:00:49 +0000 (2 08:00 +0100)
committerAndreas Jaeger <aj@gcc.gnu.org>
Tue, 2 Jan 2001 07:00:49 +0000 (2 08:00 +0100)
tree12f18ebddad6ed8db942da5167b01fafd5c86da5
parent42ded877b0b8ed0213bce5e01a70ecc443c8a5d2
c-decl.c (c_decode_option): Remove support of -Wmissing-noreturn.

* c-decl.c (c_decode_option): Remove support of
-Wmissing-noreturn.

* toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
(W_options): Add -Wmissing-noreturn here.

* flow.c: Define lang_missing_noreturn_ok_p.
(check_function_return_warnings): Use it.

* c-common.h: Declare lang_missing_noreturn_ok_p.

* c-lang.c (c_missing_noreturn_ok_p): New function.
(lang_init): Set lang_missing_noreturn_ok_p.

* invoke.texi (Warning Options): Document this.

From-SVN: r38612
gcc/ChangeLog
gcc/c-common.h
gcc/c-decl.c
gcc/c-lang.c
gcc/flow.c
gcc/invoke.texi
gcc/toplev.c