aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 6c771f6..cf88964 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -684,18 +684,18 @@ int read_rtx_lineno = 1;
const char *read_rtx_filename = "<unknown>";
static void
-fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msg, ...))
+fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msgid, ...))
{
#ifndef ANSI_PROTOTYPES
FILE *infile;
- const char *msg;
+ const char *msgid;
#endif
va_list ap;
char context[64];
size_t i;
int c;
- VA_START (ap, msg);
+ VA_START (ap, msgid);
#ifndef ANSI_PROTOTYPES
infile = va_arg (ap, FILE *);
@@ -703,7 +703,7 @@ fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msg, ...))
#endif
fprintf (stderr, "%s:%d: ", read_rtx_filename, read_rtx_lineno);
- vfprintf (stderr, msg, ap);
+ vfprintf (stderr, _(msgid), ap);
putc ('\n', stderr);
/* Gather some following context. */
@@ -718,7 +718,7 @@ fatal_with_file_and_line VPARAMS ((FILE *infile, const char *msg, ...))
}
context[i] = '\0';
- fprintf (stderr, "%s:%d: following context is `%s'\n",
+ fprintf (stderr, _("%s:%d: following context is `%s'\n"),
read_rtx_filename, read_rtx_lineno, context);
va_end (ap);