Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7647 Discussions

icpx ICE in llvm::FoldingSetBase::FindNodeOrInsertPos

vzecca
Beginner
739 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
720 Views

Hi,

 

 

Thanks for reaching out to us.

We are forwarding this issue to the concerned team.

 

 

Thank you.

 

Viet_H_Intel
Moderator
709 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);


}



Viet_H_Intel
Moderator
703 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,


PrasanthD_intel
Moderator
446 Views

Hi Vittorio,


Thanks for reporting this issue.

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


Regards


GouthamK_Intel
Moderator
403 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


Reply