Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
585 Discussions

dpcpp ICE error in backend: cannot lower memory intrinsic in address space 256

vzecca
Beginner
1,123 Views

cat dpcpperr5.c
//dpcpp ICE error in backend: cannot lower memory intrinsic in address space 256
typedef __SIZE_TYPE__ size_t;

void
f1 (unsigned char __seg_gs *s, size_t n)
{
for (size_t i = 0; i < n; ++i) s[i] = 0;
}

dpcpp dpcpperr5.c
fatal error: error in backend: cannot lower memory intrinsic in address space 256
dpcpp: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Intel(R) oneAPI DPC++/C++ Compiler 2021.3.0 (2021.3.0.20210619)
Target: x86_64-unknown-linux-gnu
Thread model: posix

0 Kudos
1 Solution
Khalik_K_Intel
Moderator
909 Views

Hello,


As stated by Shivani, this issue was fixed in the released Intel oneAPI DPC++/C++ Compiler which is part of oneAPI 2022.1 Base Toolkit.

The toolkit can be downloaded here: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html


I have checked the reproducer from this forum thread with the released compiler and the code compiles successfully.


If you require additional assistance from Intel, please start a new thread.

Any further interaction in this thread will be considered community only.


View solution in original post

0 Kudos
4 Replies
VidyalathaB_Intel
Moderator
1,109 Views

Hi,

Thanks for reaching out to us.

The issue raised by you is reproducible.

We are working on this issue internally. we will get back to you soon.

Regards,

Vidya.


0 Kudos
Khalik_K_Intel
Moderator
1,083 Views

Hello,


Thank you for contacting Intel support.


We were able to reproduce issue on our end, as mentioned before.

We have now escalated this issue to a development team.

Once we have any update from the development team, I will inform you about it in this forum thread.

Have a nice day ahead!


Regards,

Khalik.


0 Kudos
ShivaniK_Intel
Moderator
921 Views

Hi,

 

Thank you for your patience. The issue raised by you has been fixed in the latest intel oneAPI 2022.1 version release. So, could you please download and let us know if this resolves your issue.

 

Thanks & Regards

Shivani

 

0 Kudos
Khalik_K_Intel
Moderator
910 Views

Hello,


As stated by Shivani, this issue was fixed in the released Intel oneAPI DPC++/C++ Compiler which is part of oneAPI 2022.1 Base Toolkit.

The toolkit can be downloaded here: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html


I have checked the reproducer from this forum thread with the released compiler and the code compiles successfully.


If you require additional assistance from Intel, please start a new thread.

Any further interaction in this thread will be considered community only.


0 Kudos
Reply