re PR c++/71100 (Internal compiler error while calling a pointer to member function...
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 May 2016 21:23:07 +0000 (23:23 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 May 2016 21:23:07 +0000 (23:23 +0200)
commit960db8ec97c6b2d8381040f71b5852d1854197da
tree8d9d18a6c3039fc2f51f8f07c4a559a55dd58084
parent78885314088bb56f3c4fa60e4f0b6dfd987b3691
re PR c++/71100 (Internal compiler error while calling a pointer to member function that throws)

PR c++/71100
* cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Don't drop
lhs if it has TREE_ADDRESSABLE type.

* g++.dg/opt/pr71100.C: New test.

From-SVN: r236430
gcc/ChangeLog
gcc/cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr71100.C [new file with mode: 0644]