[C++ PATCH] Label checking cleanups
commitc6e67a74e092b5c70f33ad9dab99642b25810f9e
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Oct 2017 20:52:54 +0000 (25 20:52 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Oct 2017 20:52:54 +0000 (25 20:52 +0000)
treeced319b25a8fac4a097c8fd9bf227edfd93a21ec
parent7916ad8f0c3507f2f4f446092a4a397521c15b75
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254086 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c