re PR bootstrap/77569 (self tests fail when not using C locale)
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Jan 2017 07:53:30 +0000 (08:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Jan 2017 07:53:30 +0000 (08:53 +0100)
commita7085816dcd1a8a0bb5f9dfb8191e16e76ac205f
tree56c9c7317b4179b79b611a19f79726e1a2fa3916
parent27e99c9b9dec2945316548378eaec935c3b64b50
re PR bootstrap/77569 (self tests fail when not using C locale)

PR bootstrap/77569
* input.c (ebcdic_execution_charset::on_error): Don't use strstr for
a substring of the message, but strcmp with the whole message.  Ifdef
ENABLE_NLS, translate the message first using dgettext.

From-SVN: r244047
gcc/ChangeLog
gcc/input.c