- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using icpc 14.0.2 on Linux, here is a minimal program to reproduce the crash:
class A { public: virtual ~A() {} virtual void f() = 0; }; template<typename T> class B : public A { void f(); }; namespace { struct C {}; } template<> void B<C>::f(){}
The error message is:
testcase.cc(11): internal error: assertion failed at: "shared/cfe/edgcpfe/lower_il.c", line 7661 class B : public A ^ compilation aborted for testcase.cc (code 4)
Note that this compiles just fine (removing the anonymous name space):
class A { public: virtual ~A() {} virtual void f() = 0; }; template<typename T> class B : public A { void f(); }; struct C {}; template<> void B<C>::f(){}
Please let me know if and how I can further assist to debug this problem.
Best regards
Raimar
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Raimar, yes this is a bug and I've escalated this issue to the developers and will update the issue when the release with a fix is out, thanks.
Regards, Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This issue is fixed in the latest 15.0 version that's out which you can download from the Intel Registration Center, thanks.
_Kittur

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