This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]