This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix warning from pa.c


Tested on hppa-linux and applied to main.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* pa.c (struct deferred_plabel): Constify name field.

Index: config/pa/pa.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/pa/pa.c,v
retrieving revision 1.175
diff -u -3 -p -r1.175 pa.c
--- config/pa/pa.c	4 Aug 2002 22:45:24 -0000	1.175
+++ config/pa/pa.c	7 Aug 2002 18:06:16 -0000
@@ -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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]