From 043d39a683dfc5cddfe7042548cb39e3578365b2 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Wed, 7 Aug 2002 22:03:58 +0000 Subject: [PATCH] * pa.c (struct deferred_plabel): Constify name field. From-SVN: r56110 --- gcc/ChangeLog | 4 ++++ gcc/config/pa/pa.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1b380f9554..3bf7245c5a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-07 John David Anglin + + * pa.c (struct deferred_plabel): Constify name field. + 2002-08-07 Neil Booth * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 7b5e7af178b..54ef0b92e2c 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -152,7 +152,7 @@ unsigned int total_code_bytes; struct deferred_plabel GTY(()) { rtx internal_label; - char *name; + const char *name; }; static GTY((length ("n_deferred_plabels"))) struct deferred_plabel * deferred_plabels;