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

Compiler internal error: IERROR_MODULE_ID_1204

$
0
0

Hello,

I am hitting an internal compiler error IERROR_MODULE_ID_1204 with icl 14.0.2 on Windows (64-bit compiles) when using  -Qstd=c++11 and optimization (-O1 or above) on a few places in a large application. I have had a hard time boiling it down to a trivial example and I can't yet eliminate a dependency on some external code, but to start the conversation here is the demo code:

// Compile with Intel C++ for Windows 14.0.2 using icl -Qstd=c++11 -O1 -c
// Fails: internal error: IERROR_MODULE_ID_1204
// Without -Qstd=c++11 or with -Od it succeeds

#include <cmath>
#include <ObjexxFCL/FArray1D.hh>

void
foo()
{
	static double c( 0.0 );
	static double t( 123.456 );

	int const N( 20 );
	ObjexxFCL::FArray1D< double > v;

	for ( int d = 1; d <= N; ++d ) {
		for ( int w = 1; w <= N; ++w ) {
			c = std::pow( t, 4 );
		}
	}

}

I can provide the external code to Intel developers privately when they are ready to work on the issue.

Thanks,
Stuart


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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