This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed for minor fortran constification nit
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 10 Mar 2002 12:40:04 -0500 (EST)
- Subject: Patch installed for minor fortran constification nit
Bootstrapped on sparc-sun-solaris2.7, installed as obvious.
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/f/ChangeLog,v
retrieving revision 1.436
diff -u -p -r1.436 ChangeLog
--- ChangeLog 2002/03/06 18:40:56 1.436
+++ ChangeLog 2002/03/10 17:38:30
@@ -1,3 +1,7 @@
+Sun Mar 10 12:37:42 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * target.c (ffetarget_print_hex): Const-ify.
+
2002-03-06 Phil Edwards <pme@gcc.gnu.org>
* version.c: Fix misplaced leading blanks on first line.
Index: target.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/f/target.c,v
retrieving revision 1.15
diff -u -p -r1.15 target.c
--- target.c 2001/12/16 13:58:07 1.15
+++ target.c 2002/03/10 17:38:30
@@ -2190,7 +2190,7 @@ ffetarget_print_hex (FILE *f, ffetargetT
{
char *p;
char digits[sizeof (value) * CHAR_BIT / 4 + 1];
- static char hexdigits[16] = "0123456789ABCDEF";
+ static const char hexdigits[16] = "0123456789ABCDEF";
if (f == NULL)
f = dmpout;