Compilier bug? const std::string is writeable
Hi all,this piece of code is rejected by gcc, however icpc on Linux (tested: v14 and 15)does not complain about using a non-const-iterator / changing a const string,and changes the content of the...
View ArticleIncorrect resolution of class in anonymous namespace
HiiWe came across an issue in our Intel (2016) compiler build where it appears separate, but identically named, classes in anonymous namespaces are not being resolved correctly. We've managed to create...
View ArticleICC 2016 upd 1 generates incorrect vectorization code -> CRASH... again...
Ok, so this is the code: /// Integral processing. MNOALIAS MFORCEINLINE ValueType GetFrom01Cubic_Integral(MUINT32 posf) const { // Get the new wavetable index and interpolation coefficient. const int...
View ArticleWhy does the VS looking for "libmmdd.lib" ?
Hello,I have the following scenario.System : Windows 7, Visual Studio 2012, Intel Parallel Studio XE 2016 Update 1 Composer Edition.Sceneario :Project1.sln - Visual...
View ArticleMixing VC++ compiler and Intel C++ compiler in CMake
Hello all,My project requires different compilers per object. Currently we do manage this by writing manual makefiles. We are looking to see if we can migrate to CMake so that its easier to manage...
View ArticleHow to set the compiler permanently?
As a student, I successfully installed the Intel Parallel Studio XE 2016 Update 1 on the latest Ubuntu Mate in Virtualbox (I know, that the virtualization makes some features not work, but for me...
View Articleerror: declaration is incompatible (regparm involved)
hi, i'm trying to build a project (https://github.com/riclas/rstm/) with ICC but i get the following error:libstm/txthread.cpp(138): error: declaration is incompatible with "__attribute((regparm(3)))...
View ArticleDocumentation for __assume() statement?
I have seen the "__assume()" statement used in Intel examples, such as "__assume(n1%16==0)" used in the recommendations in the article at...
View ArticleSource code conventions for optimizing branch prediction?
I have a code for which I know the statistics of a random branch, but I am struggling to understand how to convince the compiler to generate conditional branches of the correct parity for the static...
View Article[bug report] find_seq_in_lookup_table: seq_number not found
This code causes icpc 16.0.0 (20150815) to report "Internal error loop: assertion failed: find_seq_in_lookup_table: seq_number not found (shared/cfe/edgcpfe/il.cc, line 3997)// Compile with -std=c++11...
View Articlewarning: function was declared but never referenced
Hi, i'm trying to compile my project (https://github.com/riclas/rstm) with ICC but it gives me the following warning, which GCC doesn't: /home/rfilipe/rstm-icc/libstm/algs/norec.cpp(43): warning...
View ArticleHow to submit a code sample in Intel DZ forum ?
Dear Collegues, I've got a question that is probably is offtopic for this forum, but, I could not find an appropriate forum to place this question.How to submit a code sample in Intel DZ forum ?...
View Article__uint128_t throws compile error in intel c++ compiler
Hi All, I am trying to compile some code using intel c++ compiler in windows. But I am keep getting compile error for __uint128_t datatype - error: identifier "__uint128_t" is undefined. The same code...
View ArticleInternal error with Intel xiar 2016 on linux 64-bit
Hi everyone,We are currently using Intel Parallel Studio XE v2016.1.056 which embeds "Compilers and libraries" v2016.1.150 on CentOS 64-bit and we encountered a problem with the xiar tool.The issue...
View ArticleThread race condition heap library MD vs MDd
Using Parallel Studio XE Pro V16.0 update 1 on Windows 7 Pro x64. Visual Studio 2013 (v120)I have a test program written in C++, and compiled with Intel C++. This program allocates some arrays,...
View ArticleIntel® C++ Compiler - Interprocedural Optimization
Idioma Inglés Productos de software: Intel® C++ CompilerSistema operativo: Apple OS X*Linux*Microsoft Windows* (XP, Vista, 7)Microsoft Windows* 10Microsoft Windows* 8.xLenguaje de programación:...
View ArticleIntel® C++ Compiler - Intrinsic Samples
Idioma Inglés Productos de software: Intel® C++ CompilerSistema operativo: Apple OS X*Linux*Microsoft Windows* (XP, Vista, 7)Microsoft Windows* 10Microsoft Windows* 8.xLenguaje de programación:...
View ArticleIntel® C++ Compiler – Samples for Intel Xeon Phi™
Idioma Inglés Productos de software: Intel® C++ CompilerSistema operativo: Linux*Microsoft Windows* (XP, Vista, 7)Microsoft Windows* 8.xLenguaje de programación: C/C++Descripción breve: These samples...
View ArticleIntel® C++ Compiler - Openmp*
Idioma Inglés Productos de software: Intel® C++ CompilerSistema operativo: Apple OS X*Linux*Microsoft Windows* (XP, Vista, 7)Microsoft Windows* 10Microsoft Windows* 8.xLenguaje de programación:...
View ArticleIntel® C++ Compiler - Optimize
Idioma Inglés Productos de software: Intel® C++ CompilerSistema operativo: Apple OS X*Linux*Microsoft Windows* (XP, Vista, 7)Microsoft Windows* 10Microsoft Windows* 8.xLenguaje de programación:...
View Article