From: Bernd Schmidt Date: Thu, 5 Aug 1999 12:43:04 +0000 (+0000) Subject: Warning fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b9c6f4fe0b3cc1d1d32da43a4e20e4303f6db68;p=gcc.git Warning fix From-SVN: r28538 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29a2a6df504..ecec4680751 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 5 13:34:14 1999 Bernd Schmidt + + * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *". + Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com) * gcc.c: Update URLs and mail addresses. diff --git a/gcc/reload1.c b/gcc/reload1.c index 575f4256c53..bfdcade427b 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -1277,7 +1277,7 @@ maybe_fix_stack_asms () /* For every operand, see what registers are allowed. */ for (i = 0; i < noperands; i++) { - char *p = constraints[i]; + const char *p = constraints[i]; /* For every alternative, we compute the class of registers allowed for reloading in CLS, and merge its contents into the reg set ALLOWED. */