This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36766] [4.4 Regression] natGC.cc:229: internal compiler error: Segmentation fault
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2008 19:15:09 -0000
- Subject: [Bug tree-optimization/36766] [4.4 Regression] natGC.cc:229: internal compiler error: Segmentation fault
- References: <bug-36766-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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