https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101232
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 58588 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58588&action=edit simple patch I was discussing this on IRC today with fwitt, and discussed moving up the cp_parser_definitely for functional cast in cp_parser_postfix_expression, but this is simpler. I'm not sure if there are further improvements you all want as well? If so, feel free to take this and build on it.