Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Browsing all 1175 articles
Browse latest View live

bug report - Incorrect array bounds report in dead code

When compiling the code snippet below withicc -std=c++11 -m64 -mfpmath=sse -march=core-avx2 -Wall -Wextra -O0 -g -c test.o test.cppusing icc (ICC) 17.0.0 20160721, I get the warning messagetest.cpp(6):...

View Article


ICC 2017 Preprocessor bug with tokens concatenation

Hello. I'm found a bug with tokens concatenation. Simple example to reproduce:#define test(x, y) sizeof(x##y) #define test2(x, y) sizeof(##x##y) int main() { int a = test(in, t); // works fine int b =...

View Article


icpc: -openmp not supported

Hi.I am trying to compile simple code using openmp.Here is the code (file test.cpp): int main() { double a[100]; #pragma omp parallel for for (int i = 0; i < 100; ++i) { a[i] = i; } return 0; }I...

View Article

Compiler error

This project builds with MSVC, MinGW and Clang but fails on intel C++ 16.The source is located at: https://github.com/djmott/wtfThe error is: error : assertion failed at:...

View Article

_mm_and_si128 for __mm256

Hello,The intrinsic _mm_and_si128 does a logical and between 2 128bits arguments. I'm looking for an __mm256 compatible. Can you help ?I'm working with version 11.1/064.Thank you,Z.V

View Article


Two optimization suggestions

Hello. I am want to propose two features from MSVC compiler that not available in ICC. All tests are made on windows x86.1) Combining several small mov's to the one. Example:struct struct_t { char a,...

View Article

Installation in Windows 10 Bash

Hi all:I'm wondering if anyone of you tried to install the Compilers within Windows 10's Linux subsystem? When I try, I get an error at the first step, telling me that...

View Article

ICC 16.0.2: MPX pass incorrectly passes bounds through indirect call

Hello,I use icc (ICC) version 16.0.2 (20160204). I found a bug in the way its MPX transformation pass passes bounds via an indirect call.Here is the test case that reproduces the problem:char x = 42;...

View Article


ICC 16.0.2: MPX pass creates too-narrow bounds in SSE-heavy code

Hello,I use icc (ICC) version 16.0.2 (20160204). I found a bug in the way its MPX transformation pass creates bounds for SSE-heavy (and heavily-optimized) code. My computer has an Intel Skylake...

View Article


icc 17.0.0 miscompiles valid C code at -Os, -O2 and -O3 on x86_64-linux-gnu

Compiler version and platform: Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.0.098 Build 20160721$ icc -O1 small.c $ ./a.out 54 $ $ icc -Os small.c $ ./a.out 55...

View Article

Extremely poor vectorized code generation by Intel C++ compiler (AVX512)

FWIW this is another attempt to get some attention to an unfortunate vectorization-related issue with Intel C++ compiler. I've tried escalating the problem via Intel premier support (issue...

View Article

bug report for XE 15: unaligned access in _mm256_cvtepi16_epi32()

Hi, I found a crash because of unaligned memory access for intrinsic _mm256_cvtepi16_epi32(*ptr) This looks strange because CPU support unaligned source operand for VPMOVSXWD(*mem), but Intel's...

View Article

Intel Cpp compiler Linking error

Hi there, when I try to compile a simple cpp program with the intel cpp compiler (icl), I get the following error: LINK : fatal error LNK1104: cannot open file 'libcpmt.lib'When I look at the LIB...

View Article


problem moving to icc 17 (from 16 and 15)

Hi,I was trying to get going with 17 (version 17.0.0.109) and I'm coming from 15.0 and 16.0 (versions 15.0.3.208 and 16.0.3.207) which are all hosted under vc11 using vc11 compatibility mode. I have a...

View Article

Compiler warning level ?

View Article


Compiler warning level ?

Hello there,I'd like to have the Compiler warning me for the following things:uninitialized variablesconversions between different datatypes with possible data loss ( float flTest = 1.2225f; int iTest...

View Article

Crash Using OpenMP on OS X

Hello,I have Intel Compiler 2015 Update 6 on OS X (10.10 Yosemite).I'm compiling 2 programs each uses OpenMP (I use static linking for IPP + OpenMP). When I run them one after the other the second...

View Article


icc 17.0.0 miscompiles valid C code (compiled code hangs) at -O1 and above on...

Compiler version and platform: Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.0.098 Build 20160721$ icc -O0 small.c; ./a.out $ $ icc -O1 small.c $ timeout -s 9 10...

View Article

icc 17.0.0 crashes on valid C code at -O2 and -O3 on x86_64-linux-gnu...

Compiler version and platform: Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.0.098 Build 20160721$ icc -Os -c small.c $ $ icc -O2 -c small.c": internal error:...

View Article

icc 17.0.0 miscompiles valid C code at -Os, -O2 and -O3 on x86_64-linux-gnu

Compiler version and platform: Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.0.098 Build 20160721$ icc -O1 small.c; ./a.out $ $ icc -Os small.c $ timeout -s 9 10...

View Article
Browsing all 1175 articles
Browse latest View live


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