Community
cancel
Showing results for 
Search instead for 
Did you mean: 
BYUFSL
Beginner
94 Views

internal error: assertion failed

I am attempting to improve CMake's CXX feature detection support with Intel compilers. I have encountered an issue while attempting to run one of their tests: Tests/CompileFeatures/cxx_generalized_initializers.cpp. This error is fortunately easily to reproduce outside of the test suite; just run:

icpc -std=c++11 -c cxx_generalized_initializers.cpp

I get the same error (though on different line numbers) on both 14.0.2 and 15.0.3:

cxx_generalized_initializers.cpp(27): internal error: assertion failed at: "shared/cfe/edgcpfe/overload.c", line 22179

    A<int> as = { 1, 2, 3, 4 };
                ^

compilation aborted for cxx_generalized_initializers.cpp (code 4)

With version 15 it happens on 22666; with 14 it happens on line 22179.

What other information do you need from me?

0 Kudos
1 Reply
MalReddy_Y_Intel
Employee
94 Views

Hi,

Thanks for reporting your issue with test code. I have escalated this issue to engineering team, I'll check status and keep update you.

Thanks,

Reddy