This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r275978 - in /trunk/gcc: cp/ChangeLog cp/parser...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 19 Sep 2019 19:41:17 -0000
- Subject: r275978 - in /trunk/gcc: cp/ChangeLog cp/parser...
Author: jason
Date: Thu Sep 19 19:41:17 2019
New Revision: 275978
URL: https://gcc.gnu.org/viewcvs?rev=275978&root=gcc&view=rev
Log:
Handle [[likely]] on compound-statement.
I overlooked this case when adding [[likely]] handling to
cp_parser_statement.
* parser.c (cp_parser_statement): Handle [[likely]] on
compound-statement.
Added:
trunk/gcc/testsuite/g++.dg/cpp2a/attr-likely5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c