diff options
author | pthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-17 14:23:53 +0000 |
---|---|---|
committer | pthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-17 14:23:53 +0000 |
commit | a1657b9503b2bb2757a1a44de16747af6a14e10a (patch) | |
tree | 03fe05fc78e4acec8f41d3b93c5865ae3c456739 /gcc/config/m32r | |
parent | 914c4f2cee63e7ba33c7781618e16f8ded2006b4 (diff) | |
download | ppe42-gcc-a1657b9503b2bb2757a1a44de16747af6a14e10a.tar.gz ppe42-gcc-a1657b9503b2bb2757a1a44de16747af6a14e10a.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49820 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32r')
-rw-r--r-- | gcc/config/m32r/m32r.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index 9ae218e1d06..edf5fa4056e 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -1,5 +1,5 @@ /* Subroutines used for code generation on the Mitsubishi M32R cpu. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -2245,14 +2245,14 @@ m32r_print_operand (file, x, code) if (GET_CODE (x) == REG) fprintf (file, "@+%s", reg_names [REGNO (x)]); else - output_operand_lossage ("invalid operand to %s code"); + output_operand_lossage ("invalid operand to %%s code"); return; case 'p': if (GET_CODE (x) == REG) fprintf (file, "@%s+", reg_names [REGNO (x)]); else - output_operand_lossage ("invalid operand to %p code"); + output_operand_lossage ("invalid operand to %%p code"); return; case 'R' : @@ -2275,7 +2275,7 @@ m32r_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 'H' : /* High word */ @@ -2298,7 +2298,7 @@ m32r_print_operand (file, x, code) 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' : @@ -2360,7 +2360,7 @@ m32r_print_operand (file, x, code) fputc (')', file); return; default : - output_operand_lossage ("invalid operand to %T/%B code"); + output_operand_lossage ("invalid operand to %%T/%%B code"); return; } break; @@ -2375,7 +2375,7 @@ m32r_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 'N' : @@ -2383,7 +2383,7 @@ m32r_print_operand (file, x, code) if (GET_CODE (x) == CONST_INT) output_addr_const (file, GEN_INT (- INTVAL (x))); else - output_operand_lossage ("invalid operand to %N code"); + output_operand_lossage ("invalid operand to %%N code"); return; case 'X' : |