[Bug c++/12253] [tree-ssa] ICE on conversion to std::string inside array initialization

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 7 08:12:00 GMT 2003


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 }; }
=======================================



More information about the Gcc-bugs mailing list