https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89962
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |10.0 Resolution|--- |FIXED --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- The warning is gone with r275978: 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. So fixed.