Re: [PATCH] diagnostics: Fix selftest ICE in certain locales [PR107722]

2022-11-23 Thread David Malcolm via Gcc-patches
On Wed, 2022-11-23 at 09:51 +0100, Jakub Jelinek wrote: > Hi! > > As reported in the PR, since special_fname_builtin () call has been > introduced, the diagnostics code compares filename against _(" in>") > rather than "", which means that if self tests are > performed > with the string being tran

[PATCH] diagnostics: Fix selftest ICE in certain locales [PR107722]

2022-11-23 Thread Jakub Jelinek via Gcc-patches
Hi! As reported in the PR, since special_fname_builtin () call has been introduced, the diagnostics code compares filename against _("") rather than "", which means that if self tests are performed with the string being translated, one self-test fails. The following patch fixes that. Bootstrapped