This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Another small warning fix


This one popped up once I installed the first warning patch.

Bernd

	* reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".

--- ../../egcs/gcc/reload1.c~	Tue Aug  3 10:35:48 1999
+++ ../../egcs/gcc/reload1.c	Wed Aug  4 15:49:08 1999
@@ -1277,7 +1277,7 @@
       /* 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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]