https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105024

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, cp_parser_compound_statement knows the opening { location, e.g. in
braces.m_open_loc, so we'd need to change finish_compound_stmt and do_poplevel
to take a location_t argument that would carry the opening { location if any
(and fallback there to input_location which will keep current behavior if we
can't figure something better).
Anyway, this isn't a regression, so GCC 13 material.

Reply via email to