[Bug tree-optimization/36766] [4.4 Regression] natGC.cc:229: internal compiler error: Segmentation fault

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 20 19:15:00 GMT 2008



------- Comment #17 from pinskia at gcc dot gnu dot org  2008-07-20 19:15 -------
Reduced testcase compile with -O1 -fnon-call-exceptions:
struct _Vector_base     {
  ~_Vector_base()       {
   int* _M_start1 = this->_M_start;
  }
  int* _M_start;
};
struct vector  : _Vector_base
{
  vector(){
    int* _M_start1 = this->_M_start;
  }
  ~vector(){
    int* _M_start1 = this->_M_start;
  }
};
void  updateClip() {
  vector* xrectvector = new vector;
  delete xrectvector;
}
--- CUT ---


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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



More information about the Gcc-bugs mailing list