- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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);
}
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
We are forwarding this issue to the concerned team.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vittorio,
Thanks for reporting this issue.
Let us know if you need help with any other issues.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page