This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/83734] [8 Regression] ice in cxx_eval _statement_list, at cp/constexpr.c:3869
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Jan 2018 21:21:34 +0000
- Subject: [Bug c++/83734] [8 Regression] ice in cxx_eval _statement_list, at cp/constexpr.c:3869
- Auto-submitted: auto-generated
- References: <bug-83734-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83734
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 9 21:21:03 2018
New Revision: 256397
URL: https://gcc.gnu.org/viewcvs?rev=256397&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr83734.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/testsuite/ChangeLog