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]

Re: Patch to constify rtx_name


 > From: Richard Henderson <rth@cygnus.com>
 > 
 > On Thu, Aug 12, 1999 at 10:13:24AM -0400, Kaveh R. Ghazi wrote:
 > > -char *rtx_name[] = {
 > > +const char *rtx_name[] = {
 > 
 > Actually, one thing to remember with all these is that the
 > array itself is constant too; changing the declatation to
 > 
 >   const char * const rtx_name[] = {
 > 
 > moves the array into read-only memory.  Which I think you
 > should also do.
 > r~

	Okay, installed.  Thanks for reviewing the patch.
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


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