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: egcs, warning patches



  In message <199807112305.BAA07922@jolan.ppro>you write:
  > | 	Here's a minor set of warning patches. 
  > ...
  > | -  lang_get_alias_set = &c_get_alias_set;
  > | +  lang_get_alias_set = c_get_alias_set;
These two statements are equivalent -- c_get_alias_set is a function.

  > ...
  > | -		bzero ((char *) &reg_data->data,
  > | +		bzero ((char *) reg_data->data,
  > |  		       sizeof (reg_info) * (max - min_index + 1));
I'm less sure about this one.  It depends on how the allocation and
initialization code for this varying size structure works.

jeff




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