https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90598
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Another possibility is to return clk_none from lvalue_kind when seeing a MODIFY_EXPR with VOID_TYPE_P (TREE_TYPE (ref)).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90598
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Another possibility is to return clk_none from lvalue_kind when seeing a MODIFY_EXPR with VOID_TYPE_P (TREE_TYPE (ref)).