This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12253] [tree-ssa] ICE on conversion to std::string inside array initialization
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2003 22:56:08 -0000
- Subject: [Bug c++/12253] [tree-ssa] ICE on conversion to std::string inside array initialization
- References: <20030911210031.12253.stefaandr@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-12-03 22:56 -------
Here's an even shorter testcase.
============================
struct A
{
~A();
};
struct B
{
A a;
B(const A& = A());
};
B b[1] = { B() };
============================
Btw, if you remove the line "A a;" you'll also get an ICE since about
gcc 3.5-tree-ssa-20031114, see PR 13059.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12253