[Bug c++/46862] New: ICE on std::decimal::decimal32 without any fields
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 9 11:20:00 GMT 2010
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: unassigned@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
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.
More information about the Gcc-bugs
mailing list