[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
Mon Oct 6 20:03: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


reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-06 20:03:06
               date|                            |


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-10-06 20:03 -------
Confirmed with 3.5-tree-ssa 20031006.

Here's a reduced testcase:

==========================================
struct A
{
    ~A();
};

template<typename> struct B
{
    A a;
    B(const char*, const A& = A());
};

extern template class B<char>;

void foo() { B<char> b[] = { "" }; }
==========================================

for which I get

PR12253.ii: In function `void foo()':
PR12253.ii:14: internal compiler error: in gimplify_expr, at gimplify.c:662
Please submit a full bug report, [etc.]



More information about the Gcc-bugs mailing list