https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #8)
> The problem is that TYPE_FIELDS in C++ don't contain just FIELD_DECLs, but
> lots of other stuff, e.g. TYPE_DECLs, CONST_DECLs, FUNCTION_DECLs.

Forgot about VAR_DECLs in this list (i.e. static data members).

Reply via email to