This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r254086 - in /trunk/gcc/cp: ChangeLog decl.c
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 25 Oct 2017 20:52:54 -0000
- Subject: r254086 - in /trunk/gcc/cp: ChangeLog decl.c
Author: nathan
Date: Wed Oct 25 20:52:54 2017
New Revision: 254086
URL: https://gcc.gnu.org/viewcvs?rev=254086&root=gcc&view=rev
Log:
[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.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c