diff options
author | Philipp Thomas <pthomas@suse.de> | 2002-02-17 14:23:53 +0000 |
---|---|---|
committer | Philipp Thomas <pthomas@gcc.gnu.org> | 2002-02-17 14:23:53 +0000 |
commit | a52453cc4295af6f62d1e59faac80056c426a400 (patch) | |
tree | 03fe05fc78e4acec8f41d3b93c5865ae3c456739 /gcc/output.h | |
parent | 1c11abc46fe2ef296d8726ee1e0c98359de6f961 (diff) | |
download | gcc-a52453cc4295af6f62d1e59faac80056c426a400.zip gcc-a52453cc4295af6f62d1e59faac80056c426a400.tar.gz gcc-a52453cc4295af6f62d1e59faac80056c426a400.tar.bz2 |
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/output.h')
-rw-r--r-- | gcc/output.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/output.h b/gcc/output.h index cb5e4d0..98ec391 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -1,7 +1,7 @@ /* Declarations for insn-output.c. These functions are defined in recog.c, final.c, and varasm.c. Copyright (C) 1987, 1991, 1994, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -81,7 +81,7 @@ extern rtx alter_subreg PARAMS ((rtx *)); /* Report inconsistency between the assembler template and the operands. In an `asm', it's the user's fault; otherwise, the compiler's fault. */ -extern void output_operand_lossage PARAMS ((const char *)); +extern void output_operand_lossage PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; /* Output a string of assembler code, substituting insn operands. Defined in final.c. */ |