[Bug translation/40884] error messages in .md files not translated
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Sat Jul 24 19:22:00 GMT 2010
------- Comment #2 from joseph at codesourcery dot com 2010-07-24 19:22 -------
Subject: Re: error messages in .md files not translated
On Tue, 20 Jul 2010, steven at gcc dot gnu dot org wrote:
> Why should an .md file call error()? The ones in neon.md look like they should
> be internal_error, or something should catch the problem earlier.
>
> Should internal_error messages be translated?
In my view ICEs - messages that should never occur without a bug in the
compiler, even if invalid asms, LTO binary data, etc., are passed to the
compiler - are not useful to translate (and if internal_error is used in
cases that do not indicate a bug in the compiler, that use of
internal_error is itself a bug). The "internal compiler error" phrase and
the bug reporting instructions should of course be translated, just not
the main text of the ICE message.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40884
More information about the Gcc-bugs
mailing list