I've got strange behavior of Intel C++ Compiler on linux. The problem is reproduce in online compiler godbolt on a small part. Inv value should be inverse of work, but with Intel it is not the case.
Problem solves if I add "-fp-model except".
I seems that lines 64-67 confuse compiler. There are no such lines there in work code, but the problem is the same.
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Parallel Computing