Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Georgy_O_
Beginner
69 Views

icpc HUNGS on small program

Jump to solution

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
69 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
70 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

Georgy_O_
Beginner
69 Views

Judith W. (Intel) wrote:

 

I was able to reproduce this...

Thank you, hope it will help to improve compiler

Reply