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: 7 Oct 2003 08:12:45 -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
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12253
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-10-07 08:12 -------
Here's an even simpler testcase without templates,
and with fixed array dimension.
=======================================
struct A
{
~A();
};
struct B
{
A a;
B(int, const A& = A());
};
void foo() { B b[1] = { 0 }; }
=======================================