This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66001] New: [5.1/6 regression] ICE when NSDMI in a literal class uses a destructor
- From: "potswa at mac dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 May 2015 02:43:57 +0000
- Subject: [Bug c++/66001] New: [5.1/6 regression] ICE when NSDMI in a literal class uses a destructor
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66001
Bug ID: 66001
Summary: [5.1/6 regression] ICE when NSDMI in a literal class
uses a destructor
Product: gcc
Version: 5.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: potswa at mac dot com
Target Milestone: ---
Works in 4.9.2, broken in 5.1. Not sure about 5.
struct x {
struct dt { ~ dt() {} }
const & m = {};
} cx;
in constexpr expansion of âcx.x::x()â
internal compiler error: unexpected expression â<statement>â of kind
try_finally