diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-08-05 12:43:04 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-08-05 12:43:04 +0000 |
commit | 6b9c6f4fe0b3cc1d1d32da43a4e20e4303f6db68 (patch) | |
tree | 71e982bb9ec532c164bf687e52538c7a53eaeb54 /gcc | |
parent | 7fc2d503b775cb4ef294542bb43d770bd933f4c7 (diff) | |
download | gcc-6b9c6f4fe0b3cc1d1d32da43a4e20e4303f6db68.zip gcc-6b9c6f4fe0b3cc1d1d32da43a4e20e4303f6db68.tar.gz gcc-6b9c6f4fe0b3cc1d1d32da43a4e20e4303f6db68.tar.bz2 |
Warning fix
From-SVN: r28538
Diffstat (limited to 'gcc')
-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. */ |