This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14464] compiler dumps with internal compiler error
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2004 23:31:17 -0000
- Subject: [Bug c++/14464] compiler dumps with internal compiler error
- References: <20040306223334.14464.robert.schweikert@abaqus.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2004-03-06 23:31 -------
Here's a test case, can probably be reduced further. Likely the same as bug 14230.
struct cow_String {
cow_String(const cow_String& rhs) { }
inline cow_String& operator=(const cow_String& str);
};
struct inp_StringIntPair {
cow_String name;
const cow_String& ConstGetInstanceNodeIdPair();
};
template<class Class>
struct thr_ThreadSingletonBase { };
template<class Class>
class thr_ThreadSingleton { };
struct inp_SolverPartMap:public thr_ThreadSingleton<inp_SolverPartMap> {
inp_StringIntPair ConstGetInstanceNodeIdPair(int globalId) const;
};
inp_SolverPartMap partMap;
int global = 0;
const cow_String& name = partMap.ConstGetInstanceNodeIdPair(global).name;
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14464