diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/reload1.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29a2a6d..ecec468 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/reload1.c b/gcc/reload1.c index 575f425..bfdcade 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. */ |