This is the mail archive of the
mailing list for the GCC project.
Re: PATCH to avoid bogus warning
>>>>> Mark Mitchell <email@example.com> writes:
> I thought about that, of course. But, it seemed conceivable that this
> information might be useful in other places as well and there are, for
> now at least, plenty of bits.
I'm not sure where else it would be useful.
> Your suggestion would entail passing the variable around a bit: we'd
> actually create the variable in finish_struct and then pass it into
> finish_struct_methods and finish_struct_1.
Seems like we could create it in finish_struct_1 and not use it in
finish_struct_methods, since there we're looking for non-private methods