[C++ PATCH] Label checking cleanups
authorNathan Sidwell <nathan@acm.org>
Wed, 25 Oct 2017 20:52:54 +0000 (20:52 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 25 Oct 2017 20:52:54 +0000 (20:52 +0000)
commit733ba9b9a347d8a2ac2dedec820c51481c5c6338
treeced319b25a8fac4a097c8fd9bf227edfd93a21ec
parenta4fe6139ab2e39d8b264befaf38f748e5c88d76a
[C++ PATCH] Label checking cleanups

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01847.html
* decl.c (identifier_goto): Reduce duplication.
(check_previous_goto_1): Likewise.
(check_goto): Move var decls to initialization.
(check_omp_return, define_label_1, define_label): Likewise.

From-SVN: r254086
gcc/cp/ChangeLog
gcc/cp/decl.c