https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120247
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org, | |mpolacek at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- lvalue_kind has case PAREN_EXPR: return lvalue_kind (TREE_OPERAND (ref, 0)); This was added in PR84582, but apparently the C++ FE uses PAREN_EXPR for other purposes and there it wants it to have the same lvalue kind as PAREN_EXPR operand.