https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401
--- Comment #5 from CVS Commits ---
The trunk branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:6a071b2d40a1078b4029c2b77ef29ffca4e7050c
commit r12-5860-g6a071b2d40a1078b4029c2b77ef29ffca4e7050c
Author: Marek Polacek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401
--- Comment #4 from Marek Polacek ---
I think the patch might be just:
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -7508,6 +7508,8 @@ cp_parser_postfix_expression (cp_parser *parser, bool
address_p, bool cast_p,
looking at a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401
--- Comment #3 from Marek Polacek ---
This is trickier than it seemed.
void f(decltype(auto(0))) { }
is actually valid in C++23 (probably) since auto(x) is supported. So I think
it's essentially like
void f(int) { }
The r11-1913 change is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401
Jonathan Wakely changed:
What|Removed |Added
Summary|gcc accepts |[11/12 Regression] gcc