icpc 14.0.2 crash: internal error: assertion failed at: "shared/cfe/edgcpfe/lower_il.c", line 7661

icpc 14.0.2 crash: internal error: assertion failed at: "shared/cfe/edgcpfe/lower_il.c", line 7661

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

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

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

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

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen