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++/12168] [3.4 regression] ICE (bus error) in set_mem_attributes_minus_bitpos


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de  2003-09-04 16:05 -------
This bug does NOT seem to be GC related! I tried with various different
heap sizes and this didn't make a difference. Given that reduction went
quite smoothly I don't really think that GC plays an important role.

Here's a further reduced test case:
================  cut ========================
struct ios_base {
	virtual ~ios_base() {}
};
struct istrstream : public virtual ios_base
{
	    ~istrstream();
};
istrstream::~istrstream() { }
================  cut ========================

Both virtual keywords are essential, also adding inline to the istream
destructor makes the bug go away.


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