Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

internal error: assertion failed

$
0
0

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?


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>