Warning fix
authorBernd Schmidt <bernds@cygnus.co.uk>
Thu, 5 Aug 1999 12:43:04 +0000 (12:43 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Thu, 5 Aug 1999 12:43:04 +0000 (12:43 +0000)
From-SVN: r28538

gcc/ChangeLog
gcc/reload1.c

index 29a2a6df5046b1ac42b9c06acfca13511ec8ee52..ecec4680751dfbb348fdd0cd42c0828ab84f82b9 100644 (file)
@@ -1,3 +1,7 @@
+Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * 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.
index 575f4256c533f52d624b809658c71cd282a1882b..bfdcade427b2f478284889b8cbb7c6bfcefdb5bd 100644 (file)
@@ -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.  */