PATCH for thinko in declare_hidden_char_array

Jeffrey A Law law@cygnus.com
Wed Apr 15 19:55:00 GMT 1998


  In message < 199804160003.RAA00479@mail.earthlink.net >you write:
  >   Here's a patch that fixes a thinko in declare_hidden_char_array.  We
  > were using the range of the character type in a string as if it were
  > the length of the string type.  Is this OK?
  > 
  > -- 
  > Mark Mitchell <mmitchell@usa.net>
  > http://home.earthlink.net/~mbmitchell
  > Consulting Services Available
  > 
  > 1998-04-15  Mark Mitchell  <mmitchell@usa.net>
  > 
  > 	* c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
  > 	the length of an array, not TREE_TYPE.
Seems reasonable to me.

jeff



More information about the Gcc-bugs mailing list