re PR c++/83734 (ice in cxx_eval _statement_list, at cp/constexpr.c:3869)
authorJakub Jelinek <jakub@redhat.com>
Tue, 9 Jan 2018 21:21:03 +0000 (22:21 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 9 Jan 2018 21:21:03 +0000 (22:21 +0100)
commit6ef72c3661318d0b5d7e3fc8821d136bbba37194
treecacc6b6268cf2b10c6aab65f1c2c699a129b3d81
parent0f1462579e348656b9a5549721f926d6f5894e1c
re PR c++/83734 (ice in cxx_eval _statement_list, at cp/constexpr.c:3869)

PR c++/83734
* constexpr.c (cxx_eval_statement_list): Ignore DEBUG_BEGIN_STMTs
in STATEMENT_LIST.  Remove unneeded assert.

* g++.dg/cpp0x/pr83734.C: New test.

From-SVN: r256397
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr83734.C [new file with mode: 0644]