summaryrefslogtreecommitdiff
path: root/gcc/config/arc
diff options
context:
space:
mode:
authorPhilipp Thomas <pthomas@suse.de>2002-02-17 14:23:53 +0000
committerPhilipp Thomas <pthomas@gcc.gnu.org>2002-02-17 14:23:53 +0000
commita52453cc4295af6f62d1e59faac80056c426a400 (patch)
tree03fe05fc78e4acec8f41d3b93c5865ae3c456739 /gcc/config/arc
parent1c11abc46fe2ef296d8726ee1e0c98359de6f961 (diff)
downloadgcc-a52453cc4295af6f62d1e59faac80056c426a400.tar.gz
final.c (output_operand_lossage): Changed to accept printf style arguments.
2002-02-17 Philipp Thomas <pthomas@suse.de> * final.c (output_operand_lossage): Changed to accept printf style arguments. Change calls where necessary. * output.h (output_operand_lossage): Change declaration accordingly. Update copyright. * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c config/m88k/m88k.c : Adapt all calls to output_operand_lossage. Update copyright date where necessary. * config/i386/i386.c (print_operand): Likewise. Remove use of sprintf. * config/cris/cris.c (cris_operand_lossage): Likewise. Rename parameter so that exgettext recognizes it as translatable message. (LOSE_AND_RETURN): Rename parameter to msgid. * po/gcc.pot: Regenerate. From-SVN: r49820
Diffstat (limited to 'gcc/config/arc')
-rw-r--r--gcc/config/arc/arc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index 6a31b6cef89..d3adb744e15 100644
--- a/gcc/config/arc/arc.c
+++ b/gcc/config/arc/arc.c
@@ -1,5 +1,5 @@
/* Subroutines used for code generation on the Argonaut ARC cpu.
- Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001
+ Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -1706,7 +1706,7 @@ arc_print_operand (file, x, code)
fputc (']', file);
}
else
- output_operand_lossage ("invalid operand to %R code");
+ output_operand_lossage ("invalid operand to %%R code");
return;
case 'S' :
if ((GET_CODE (x) == SYMBOL_REF && SYMBOL_REF_FLAG (x))
@@ -1738,7 +1738,7 @@ arc_print_operand (file, x, code)
(long)(code == 'L' ? INTVAL (first) : INTVAL (second)));
}
else
- output_operand_lossage ("invalid operand to %H/%L code");
+ output_operand_lossage ("invalid operand to %%H/%%L code");
return;
case 'A' :
{
@@ -1762,7 +1762,7 @@ arc_print_operand (file, x, code)
fputs (".a", file);
}
else
- output_operand_lossage ("invalid operand to %U code");
+ output_operand_lossage ("invalid operand to %%U code");
return;
case 'V' :
/* Output cache bypass indicator for a load/store insn. Volatile memory
@@ -1773,7 +1773,7 @@ arc_print_operand (file, x, code)
fputs (".di", file);
}
else
- output_operand_lossage ("invalid operand to %V code");
+ output_operand_lossage ("invalid operand to %%V code");
return;
case 0 :
/* Do nothing special. */