]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR c++/90598 (Return type of explicit destructor call wrong)
authorJakub Jelinek <jakub@redhat.com>
Wed, 5 Jun 2019 12:21:27 +0000 (14:21 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 5 Jun 2019 12:21:27 +0000 (14:21 +0200)
commit804b831eab29730059cf8221f9c802c35722e2f0
tree1440b1d3dfc67b20b1048f075a5acb7b437a9983
parent371a0cba5e1c7f4f1b9e0ab74948af21662d0057
backport: re PR c++/90598 (Return type of explicit destructor call wrong)

Backported from mainline
2019-05-29  Jakub Jelinek  <jakub@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  <jwakely@redhat.com>

* testsuite/experimental/propagate_const/requirements2.cc: Adjust
dg-error.

From-SVN: r271959
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr90598.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/propagate_const/requirements2.cc