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


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


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