I have encountered another front end bug while trying to compile
libstdc++-v3. I've attached a simple test case.
> sgiCC -c localename.i
### Assertion failure at line 1117 of ../../g++fe/wfe_decl.cxx:
### Compiler Error during Writing WHIRL file phase:
### unexpected tree code ptrmem_cst
sgiCC INTERNAL ERROR: /usr/lib/gcc-lib/ia64-sgi-linux/sgicc-1.0/gfecc
returned non-zero status 1
namespace std
{
class locale
{
public:
class _Impl;
};
class locale::_Impl
{
public:
_Impl();
void
_M_construct_collate(const char*);
void
_M_construct_ctype(const char*);
void
_M_construct_monetary(const char*);
void
_M_construct_numeric(const char*);
void
_M_construct_time(const char*);
void
_M_construct_messages(const char*);
};
}
namespace std {
locale::_Impl::
_Impl()
{
static void(_Impl::* ctors[]) (const char*) =
{
&locale::_Impl::_M_construct_collate,
&locale::_Impl::_M_construct_ctype,
&locale::_Impl::_M_construct_monetary,
&locale::_Impl::_M_construct_numeric,
&locale::_Impl::_M_construct_time,
&locale::_Impl::_M_construct_messages,
0
};
}
}
|