- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get an internal error when i try to compile http://www.suse.de/~rguenther/tramp3d/tramp3d-v4.cpp.gz with version 13 on Linux. Testcase reduced with C-Reduce:
[cpp]
extern "C" void pthread_key_create ();
class A
{
public:
template < typename > struct rebind
{
typedef A other;
};
};
template < typename _Alloc > struct __alloc_traits
{
template < typename _Tp > struct rebind
{
typedef typename _Alloc::template rebind < _Tp >::other other;
};
};
template < class > struct B;
template < int >class C;
class D
{
};
template < int, class > class I:D
{
};
template <> class C < 1 >:I < 0, B < C < 0 > > >
{
};
template < typename _Tp, typename _Alloc > struct F
{
typedef typename __alloc_traits < _Alloc >::template rebind <
_Tp >::other _Tp_alloc_type;
struct J:_Tp_alloc_type
{
J (_Tp_alloc_type):_Tp_alloc_type ()
{
}
};
typedef _Alloc allocator_type;
F (int, const allocator_type & p2):_M_impl (p2)
{
} J _M_impl;
};
template < typename _Tp, typename _Alloc = A > class K:F < _Tp, _Alloc >
{
typedef F < _Tp, _Alloc > _Base;
public:
typedef _Tp value_type;
typedef _Alloc allocator_type;
K (int, const value_type & = value_type (),
const allocator_type & p3 = allocator_type ()):_Base (0, p3)
{
}
};
enum CenteringType
{ CellType };
template < int >class H
{
public:
H ();
};
H < 0 > a;
static __typeof pthread_key_create voide
__attribute__ ((__weakref__ ("__pthread_key_create")));
class G
{
public:
G (CenteringType = CellType):orientations_m (0), positions_m (0)
{
} K < C < 1 > >orientations_m;
K < int >positions_m;
};
template < int Dim > H < Dim >::H ()
{
new G[0];
}
[/cpp]
[plain] % icpc test.ii
test.ii(79): internal error: assertion failed at: "shared/cfe/edgcpfe/lower_name.c", line 10541 compilation aborted for test.ii (code 4)
% icpc -v icpc version 13.0.0 (gcc version 4.7.0 compatibility) [/plain]
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page