This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]