Warning fix

From-SVN: r28538
This commit is contained in:
Bernd Schmidt 1999-08-05 12:43:04 +00:00 committed by Bernd Schmidt
parent 7fc2d503b7
commit 6b9c6f4fe0
2 changed files with 5 additions and 1 deletions

View 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.

View 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. */