https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90598
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Jun 5 12:21:27 2019 New Revision: 271959 URL: https://gcc.gnu.org/viewcvs?rev=271959&root=gcc&view=rev Log: Backported from mainline 2019-05-29 Jakub Jelinek <ja...@redhat.com> PR c++/90598 * tree.c (lvalue_kind): Return clk_none for expressions with with VOID_TYPE_P. * g++.dg/cpp0x/pr90598.C: New test. 2019-05-02 Jonathan Wakely <jwak...@redhat.com> * testsuite/experimental/propagate_const/requirements2.cc: Adjust dg-error. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/pr90598.C Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/tree.c branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/testsuite/experimental/propagate_const/requirements2.cc