Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

icpc HUNGS on small program

Georgy_O_
Beginner
375 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
375 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

0 Kudos
2 Replies
Judith_W_Intel
Employee
376 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

0 Kudos
Georgy_O_
Beginner
375 Views

Judith W. (Intel) wrote:

 

I was able to reproduce this...

Thank you, hope it will help to improve compiler

0 Kudos
Reply