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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2024-05-23

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Sorry about this; thanks for reporting it.

The translation happens here in simple_diagnostic_path::add_event:

2583      text_info ti (_(fmt), &ap, 0, nullptr, &rich_loc);
                        ^^^^^^

There's a chance that simple_diagnostic_path might get used for real purposes,
rather than just selftests, so maybe we want a flag on the
simple_diagnostic_path to suppress translation for events within it (and set it
for test_diagnostic_path).

Reply via email to