https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70869
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Comment on attachment 38469 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38469 suggested patch DECL_P check doesn't make sense, of course all VAR_Ps are also DECL_Ps, but no need to verify that. Why the OBJ_TYPE_REF change?