This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12168] [3.4 regression] ICE (bus error) in set_mem_attributes_minus_bitpos
- From: "ehrhardt at mathematik dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2003 16:05:36 -0000
- Subject: [Bug c++/12168] [3.4 regression] ICE (bus error) in set_mem_attributes_minus_bitpos
- References: <20030904140945.12168.ehrhardt@mathematik.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.