From 499b10983a895114ec7729cf6d8dba3ca0a245dc Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Wed, 1 Sep 1999 05:08:57 +0000 Subject: [PATCH] * alias.c (non_local_reference_p): Constify fmt. From-SVN: r29023 --- gcc/ChangeLog | 4 ++++ gcc/alias.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f25438c2e41..432d80aa6f5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 31 22:08:03 1999 Marc Espie + + * alias.c (non_local_reference_p): Constify fmt. + Tue Aug 31 23:19:35 1999 Michael Meissner * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define. diff --git a/gcc/alias.c b/gcc/alias.c index 9de034a9f13..a94793ea12c 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -1431,7 +1431,7 @@ nonlocal_reference_p (x) /* Recursively scan the operands of this expression. */ { - register char *fmt = GET_RTX_FORMAT (code); + register const char *fmt = GET_RTX_FORMAT (code); register int i; for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--)