I've experienced issues with compiling a code that I cannot disclose here but I managed to remove unrelated parts and this small part of code seems to cause internal error: assertion failed at: "shared/cfe/edgcpfe/exprutil.c",line 19869 when I compiled it with ICL at the line of std::cout
#include <iostream> #include <iomanip> #include <fstream> #include <stdexcept> #include <cmath> #include <string> #include <sstream> #define to_stringSP3( x ) static_cast< std::ostringstream & >( ( std::ostringstream() << std::fixed << std::setprecision(3)<< std::dec << x ) ).str() int main(){ float f; std::cin >> f; std::cout << to_stringSP3(f) << "\n"; }
My colleagues informed me that this piece of code does not give any error at older versions of ICL
My version
ICL
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.6.287 Build 20190527
Copyright (C) 1985-2019 Intel Corporation. All rights reserved.
CL
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27031.1 for x64
Copyright (C) Microsoft Corporation. All rights reserved.