Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

icpc HUNGS on small program

Georgy_O_
Beginner
148 Views

Hi!

I found icpc from Intel Parallel Studio XE 2017 hungs on my Linux machine compiling my project. For some tries, I reduced my code to the following:

#include <list>

class Outer {
public:
	class InnerBase {
	public:
	};
		
	class InnerDerrive : public InnerBase {} ;

	struct Item {
		InnerBase* x;
	};

private:
	InnerDerrive obj;
	using List = std::list<Item>;
	List saversMap{ { Item{&obj } } };

public:
};

compiling with /opt/intel/bin/icpc -std=c++14 -c file.cpp

If I replace InnerBase with InnerDerrive at line 12, the compiler will work properly.

Please, tell, is it Intel Compiler bug and if so, how to report it to Intel?

0 Kudos
1 Solution
Judith_W_Intel
Employee
148 Views

 

I was able to reproduce this (thanks for the small test case) and have submitted this under number DPD200419421 in our internal bugs database. Thanks for reporting it and we will try fix it as soon as passible.

Judy

View solution in original post

2 Replies
Judith_W_Intel
Employee
149 Views

 

I was able to reproduce this (thanks for the small test case) and have submitted this under number DPD200419421 in our internal bugs database. Thanks for reporting it and we will try fix it as soon as passible.

Judy

Georgy_O_
Beginner
148 Views

Judith W. (Intel) wrote:

 

I was able to reproduce this...

Thank you, hope it will help to improve compiler

Reply