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 tree-optimization/36766] [4.4 Regression] natGC.cc:229: internal compiler error: Segmentation fault



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


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