------- Comment #3 from reichelt at gcc dot gnu dot org  2008-02-15 08:19 
-------
Confirmed. This is a serious problem IMHO. Here's a valid example that crashes
for me:

============================
#include<vector>
#include<string>

struct A
{
  std::string s;
};

struct B
{
  B();
  std::vector<A> v;
};

B::B() : v(0) {}
============================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |blocker
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|i386-apple-darwin9.2.0      |
   GCC host triplet|i386-apple-darwin9.2.0      |
 GCC target triplet|i386-apple-darwin9.2.0      |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-15 08:19:01
               date|                            |
            Summary|internal compiler error:    |[4.3 regression] ICE: tree
                   |tree check: expected class  |check: expected class
                   |'expression', have          |'expression', have
                   |'exceptional' (error_mark)  |'exceptional' (error_mark)
                   |in bot_manip, at            |in bot_manip, at
                   |cp/tree.c:1480              |cp/tree.c:1480


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35191

Reply via email to