This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12168] New: [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 14:09:47 -0000
- Subject: [Bug c++/12168] New: [3.4 regression] ICE (bus error) in set_mem_attributes_minus_bitpos
- 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
Summary: [3.4 regression] ICE (bus error) in
set_mem_attributes_minus_bitpos
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ehrhardt at mathematik dot uni-ulm dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.9
GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9
The following code ICEs 3.4 as of 20030903 preventing compilation of
libstdc++. Compile with -O1
======================== cut ===========================================
template<typename _CharT, typename _Traits = char > struct basic_istream;
struct ios_base {
virtual ~ios_base() {}
};
template<typename _CharT, typename _Traits>
struct basic_istream : virtual public ios_base { };
struct istrstream : public basic_istream<char> {
virtual ~istrstream();
};
istrstream::~istrstream() { }
======================== cut ===========================================
This is a regression on the 3.4 branch. Testresults submitted to
gcc-testresults do not show successful g++ testsuite runs since
about Aug 29th.
regards Christian