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

fmod(-2, 2) returns 0 instead of -0

My understanding is that fmod(-2, 2) should return -0, not 0. With or without -fp-model strict I get positive 0. Is this a bug, or do I need to enable some other flag?$ icc --versionicc (ICC) 13.0.1...

View Article


Inline functions: architecture dependent compilations problems.

 I have a C program that uses inline functions. They are defined in a header file as, for example, static inline int fun(vars...), etc, and I use inline-forceinline option to force to the compiler to...

View Article


How icc/icpc uses GCC on LInux?

Hello,I would greatly appreciate if someone could explain me or point to some references about the following topic:How icc/icpc/ifort uses GCC and/or system libraries (like libc)? Are those things...

View Article

Intel tool chain integration problem with Eclipse

Hello,I have installed Intel Parallel Studio xe 2013 update1 and eclipse version 4.2.1.I have followed the instructions in the "get_started_lc.htm" (Ran the compilervars.sh, exported CDT to eclipse)I...

View Article

dynamic_cast metatroubles

Hi.It appears that this report is, in fact, essentially ignored by Intel staff. Now, this is not exactly a priority issue (and I understand there are better places for this if it was), but still: am I...

View Article


Stuck Floating Liceses

Hello,We have a pool of intel comiler licenses which should be sufficient normally for use. But it occurs often that some licenses were held for many days by hanging instances of icc from different...

View Article

Image may be NSFW.
Clik here to view.

Very large structs GCC ok, ICC seg fault, simple example.

We have a very large structure ~10GB. GCC does not seem to have a problem with it but ICC is seg faulting. I've boiled it down to simple assignment statements. Any ideas?  Files attached. If we don't...

View Article

BUGGY Parallel Studio 2013 update 2

Hi,Just updated to Parallel Studio 2013 update 2 in Visual Studio 2012.Seems ok when compile in x64 debug mode.But major issues in x64 Release mode:> the debugger is throwing out weird values>...

View Article


software pipelining for x86

Is any version of ICC capable of software pipelining loops for x86/x64? Currently, I'm doing it manually, but this is a well known method for decades, so I think it should be in the compiler.Is there...

View Article


About OpenMP workqueue or tasking model

Hello, allI am wondering how intel compilers model OpenMP 3.0 (3.1) tasking. According to the standard, private task pools are initiated for the execution of descendant (child) tasks. A global task...

View Article

Scope issues

Hi,I work on a large project that is compiled with icc 11. Now we are migrating to icc 13 and I get numerous scope issues when compiling the same code on the new compiler. Any idea what might have been...

View Article

Intel C++ compiler fails to link extremely simple example

When attempting to compile the test example (exprtk_test.cpp) found in the following project:https://github.com/ArashPartow/exprtkcommand line:/Zi /nologo /W3 /MP /O2 /Oi /Qipo /D...

View Article

Feature Request for a new directive #if exists - #endif

I'd like to make a Feature Request for a new directive #if exists ( #include "filename.h" ) #endif. Here is example:#if exists ( "immintrin.h" ) #include "immintrin.h" #endifThe directive should verify...

View Article


icc compiles incorrect code

struct A { int a = 10; }; struct S { union { A a; }; }; int main() { S s; return 0; }GCC gives an error:error: use of deleted function 'S::S()'ICC 13 update 1 on win compiles the code, but it mustn't...

View Article

Problem with static member constexpr array

Good day. This code:-------------------------------  test.c++#include<array>struct A { static constexpr std::array<int, 3> data {{ 2, 3, 2}}; };int main(){} ------------------------------...

View Article


Cannot get VS2010 to recognize ICC?

Hi,I installed everything via Parallel Studio XE 2013. When I open a VS2010 C++ project (either through the normal VS2010 shortcut or the Composer VS 2010 shortcut), if I right click the project, go to...

View Article

Undefined symbols for architecture x86_64

Hi,I am compiling an old project with Composer X 2013 U1 on a Mac. It compiles and links fine but I am compiling on Mac OS X 10.7 and I would like the app to be compatible with Mac OS X 10.6 too. So I...

View Article


linking error

i am trying to comile a VS2008 solution from the command line  using the intel compiler version : intelcompiler 2013 update 2 i get the folowing error: error LNK2019: unresolved external symbol...

View Article

linker error

I am trying to build one standalone exe and i am seeing below unresolved symbols------------------------------------------------------------------tpccload.obj : error LNK2019: unresolved external...

View Article

icc generates endless loop when using avx instructions in nbench

Hello,I'm experimenting with icc flags and nbench and it seems that icc is generating wrong code when using avx. All but the assignment test are working fine. If I use -msse4.2 the assignment test is...

View Article
Browsing all 2797 articles
Browse latest View live


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