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

icpx ICE in llvm::FoldingSetBase::FindNodeOrInsertPos

vzecca
Beginner
1,571 Views

The following code provokes an ICE in icpx Version 2021.1 NextGen Beta Build 20200304

// icpx ICE in llvm::FoldingSetBase::FindNodeOrInsertPos
int main ()
{
void *co_h;

bool d = __builtin_coro_done (co_h);

}

0 Kudos
5 Replies
AbhishekD_Intel
Moderator
1,552 Views

Hi,

 

 

Thanks for reaching out to us.

We are forwarding this issue to the concerned team.

 

 

Thank you.

 

0 Kudos
Viet_H_Intel
Moderator
1,541 Views

How did you compile the code with icpc/g++? Any #include header files or command line options I need to have?


$ icpc -c 04801613.cpp

04801613.cpp(5): error: identifier "__builtin_coro_done" is undefined

 bool d = __builtin_coro_done (co_h);

      ^

$ cat 04801613.cpp

int main ()

{

void *co_h;


bool d = __builtin_coro_done (co_h);


}



0 Kudos
Viet_H_Intel
Moderator
1,535 Views

Regardless, the compiler should emit an error and terminates normally instead of given a core dump.

I've reported this problem to our Developer.

Thanks,


0 Kudos
PrasanthD_intel
Moderator
1,278 Views

Hi Vittorio,


Thanks for reporting this issue.

Let us know if you need help with any other issues.


Regards


0 Kudos
GouthamK_Intel
Moderator
1,235 Views

Hi,

As we have not heard back from you, we have answered all your queries. So we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only 

Have a Good day!


Thanks & Regards

Goutham


0 Kudos
Reply