View Issue Details

IDProjectCategoryView StatusLast Update
0024308Open CASCADEOCCT:WOKpublic2014-04-16 16:11
ReporterabvAssigned Toabv 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version6.7.0 
Target Version6.7.0Fixed in Version6.7.0 
Summary0024308: Enable option /fp:precise explicitly in Visual Studio projects
DescriptionUnlike VC++, Intel compiler by default performs non-safe optimization of floating-point arithmetic (/fp:fast). This leads to multiple regressions in OCCT tests (built in Release mode with optimizations enabled).

The standard procedure to use Intel compiler (to be employed by OCCT) is to switch existing VS project to Intel compiler, with option integrated to VS.

In order to ensure that OCCT projects converted in this way work as expected we need to enable option /fp:precise explicitly in Visual Studio projects generated by WOK.

Note that for 32-bit Intel compiler use of /fp:precise leads to poor performance (about 20% slow down for OCCT); this can be repaired by setting FP model option to /fp:source (in VS project Properties it is on separate tab "Code Generation [Intel C++]"). This is to be done manually.
TagsNo tags attached.
Test case number

Relationships

related to 0024254 closedbugmaster A lot of regressions in test cases on OCCT built with Intel compiler 

Activities

abv

2013-11-01 16:31

manager   ~0026423

Fix pushed to CR24308, please review

kgv

2013-11-01 18:25

developer   ~0026424

No remarks.

bugmaster

2013-11-06 11:32

administrator   ~0026468

Fix has been integrated onto master of occt-wok repository

Issue History

Date Modified Username Field Change
2013-11-01 16:27 abv New Issue
2013-11-01 16:27 abv Assigned To => kgv
2013-11-01 16:31 abv Note Added: 0026423
2013-11-01 16:31 abv Status new => resolved
2013-11-01 18:25 kgv Note Added: 0026424
2013-11-01 18:25 kgv Assigned To kgv => bugmaster
2013-11-01 18:25 kgv Status resolved => reviewed
2013-11-06 11:32 bugmaster Note Added: 0026468
2013-11-06 11:32 bugmaster Status reviewed => verified
2013-11-06 11:32 bugmaster Resolution open => fixed
2013-11-06 11:32 bugmaster Assigned To bugmaster => abv
2013-12-19 13:51 bugmaster Status verified => closed
2013-12-19 13:59 bugmaster Fixed in Version => 6.7.0
2014-04-16 16:11 abv Relationship added related to 0024254