http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46862
Summary: ICE on std::decimal::decimal32 without any fields
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
int foo ();
static __typeof (foo) bar __attribute__ ((__weakref__ ("foo")));
namespace std
{
namespace decimal
{
class decimal32;
template <class> struct S { };
template <> struct S <decimal32> { static const bool value = true; };
template <class> class T { };
class decimal32 : public T <decimal32> { };
}
}
ICEs during mangling, as first_field returns NULL.