diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2002-08-07 22:03:58 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2002-08-07 22:03:58 +0000 |
commit | 043d39a683dfc5cddfe7042548cb39e3578365b2 (patch) | |
tree | 8dfe8b68d06fc617405376085b88f142c0fafc80 | |
parent | 34bb92e3f0d31562d06a839dcfc6ca68febb8321 (diff) | |
download | gcc-043d39a683dfc5cddfe7042548cb39e3578365b2.zip gcc-043d39a683dfc5cddfe7042548cb39e3578365b2.tar.gz gcc-043d39a683dfc5cddfe7042548cb39e3578365b2.tar.bz2 |
* pa.c (struct deferred_plabel): Constify name field.
From-SVN: r56110
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1b380f..3bf7245 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * pa.c (struct deferred_plabel): Constify name field. + 2002-08-07 Neil Booth <neil@daikokuya.co.uk> * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 7b5e7af..54ef0b9 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; |