From 6c39d0b79db7f9bf58a64bf987c161ae0b9dcec4 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 20 Feb 2020 12:01:44 +0100 Subject: [PATCH] Remove triling space for a warning. PR translation/93838 * parser.c (cp_parser_decl_specifier_seq): Remove trailing space. --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/parser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e1ac5b0f29e..173d0a1c514 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2020-02-20 Martin Liska + + PR translation/93838 + * parser.c (cp_parser_decl_specifier_seq): Remove trailing space. + 2020-02-19 Marek Polacek PR c++/93169 - wrong-code with a non-constexpr constructor. diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index e8a536ae22f..46841344831 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -14164,7 +14164,7 @@ cp_parser_decl_specifier_seq (cp_parser* parser, "allowed in a C++20 concept definition"); else pedwarn (token->location, 0, "C++20 concept definition syntax " - "is % = %> "); + "is % = %>"); } /* In C++20 a concept definition is just 'concept name = expr;' -- 2.30.2