[PATH] fix c/10962, slow lookup_field

Jason Merrill jason@redhat.com
Fri May 30 17:30:00 GMT 2003


Thanks, almost there.

I wouldn't bother with the DECL_DECLARES_TYPE_NON_TEMPLATE_P macro; it
doesn't make the code any clearer.  Just write the test directly in the
function.

Also, we need a more descriptive name than "lang_record_type" for this
struct.  Perhaps sorted_fields_type?

Don't add another blank line before struct lang_type.

Jason



More information about the Gcc-patches mailing list