decl.c (define_case_label): Don't crash if we're not in a switch.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 22 Sep 1999 19:16:37 +0000 (19:16 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 22 Sep 1999 19:16:37 +0000 (15:16 -0400)
commitb0a1da1950ff19fcc32497a416c29d4f3998d19a
tree5ba6d46e47be8c38664f0123f234c6cb075b6dbc
parentbad1e2ac25ca6a18ef11b747d9af4f4e6191d703
decl.c (define_case_label): Don't crash if we're not in a switch.

* decl.c (define_case_label): Don't crash if we're not in a switch.

* decl2.c (lang_decode_option): Don't bother explicitly ignoring flags.
* lang-options.h: Restore -fthis-is-variable.  Remove help strings
for unsupported flags.
* decl2.c (lang_decode_option): Accept and ignore -finit-priority.
Accept and warn about -fthis-is-variable.

From-SVN: r29594
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/lang-options.h