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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #4)
> I believe that everywhere we're using internal_error, the diagnostics
> machinery will add "internal compiler error: " as a prefix when the message
> is emitted to the user, and I believe this prefix is translated.

The avr backend uses the string "internal compiler error" in arguments to
fatal_insn, which won't be handle uniformly:

#: config/avr/avr.c:2939
msgid "internal compiler error.  Bad address:"
msgstr ""

#: config/avr/avr.c:2980
msgid "internal compiler error.  Unknown mode:"
msgstr ""

#: config/avr/avr.c:6387 config/avr/avr.c:6868 config/avr/avr.c:7283
msgid "internal compiler error.  Incorrect shift:"
msgstr ""

I have no idea if those really are ICEs or if the string is inappropriate, but
those messages should probably all have a space after the colon.

Reply via email to