[PR c++/83667] Fix tree_dump ICE
authorNathan Sidwell <nathan@acm.org>
Wed, 3 Jan 2018 16:01:31 +0000 (16:01 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 3 Jan 2018 16:01:31 +0000 (16:01 +0000)
commitce4734988f9ee022fbe5195f85ea04e7372a9eda
treec697e1a3cc5365d89d311a21bd8e38d5ecaab0f5
parentfa9544ab4df0e88946488fb82f4b994bf36a97ff
[PR c++/83667] Fix tree_dump ICE

https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00148.html
PR c++/83667
* method.c (make_alias_for): Copy DECL_CONTEXT.

PR c++/83667
* g++.dg/ipa/pr83667.C: New.

From-SVN: r256179
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr83667.C [new file with mode: 0644]