Community
cancel
Showing results for 
Search instead for 
Did you mean: 
walisch__kim
Beginner
99 Views

icpc + __int128_t + templates = internal error: 04010002_1504

Hi,

OS: Ubuntu 18.04 x86_64
Compiler version: icpc (ICC) 18.0.2 20180210

I have run into an icpc compiler bug. Intel's C++ compiler fails to compile template functions which use the non-standard __int128_t or __uint128_t types. I ran into this bug when I tried to compile my primecount program (https://github.com/kimwalisch/primecount) using icpc. I have created a minimal C++ program (see attached bug.cpp) which reproduces the bug.

Steps to reproduce the bug:

$ icpc bug.cpp
bug.cpp(28) (col. 27): internal error: 04010002_1504
compilation aborted for bug.cpp (code 4)

Thanks for your help!

0 Kudos
1 Reply
Viet_H_Intel
Moderator
99 Views

Hi Kim,

Thanks for reporting this issue. I've submitted a bug to our developer. The case number is: CMPLRS-50210

Regards,

Viet

Reply