re PR c++/85070 (ICE on C++ code: in lazily_declare_fn, at cp/method.c:2409)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 24 Sep 2018 17:42:45 +0000 (17:42 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 24 Sep 2018 17:42:45 +0000 (17:42 +0000)
commit06ff274feb26fd569fd167225d29479f5b974c45
treeb00ec4a1722b9036f2fcb7b7283cb8dd95bb7f3d
parent708c728d4fe7a5e169833729b8c57d08258ce15d
re PR c++/85070 (ICE on C++ code: in lazily_declare_fn, at cp/method.c:2409)

/cp
2018-09-24  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/85070
* method.c (lazily_declare_fn): During error-recovery add_method
may return false.

/testsuite
2018-09-24  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/85070
* g++.dg/cpp0x/pr85070.C: New.

From-SVN: r264541
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr85070.C [new file with mode: 0644]