This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
reload1.c warning fix
- To: gcc-patches at gcc dot gnu dot org
- Subject: reload1.c warning fix
- From: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Date: Mon, 2 Aug 1999 11:15:05 +0100 (BST)
OK to install?
Bernd
* reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
"const char *".
--- reload1.c.1 Mon Aug 2 10:35:19 1999
+++ reload1.c Mon Aug 2 10:35:46 1999
@@ -1240,7 +1240,7 @@
maybe_fix_stack_asms ()
{
#ifdef STACK_REGS
- char *constraints[MAX_RECOG_OPERANDS];
+ const char *constraints[MAX_RECOG_OPERANDS];
enum machine_mode operand_mode[MAX_RECOG_OPERANDS];
struct insn_chain *chain;