View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033296 | Open CASCADE | OCCT:Coding | public | 2022-12-21 09:01 | 2024-01-19 17:33 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | won't fix | ||
Platform | Mingw64 | OS | Windows 10 | ||
Product Version | 7.7.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0033296: Coding - O3 level optimization leads to many failed tests on boolean operations | ||||
Description | On Mingw 12.1.0 compiler tests *** fails But if we reduce optimization level to O2 - these failed tests pass without regressions. We may get difference between two options by executing commands (from gcc manual): gcc -c -Q -O2 --help=optimizers >O2.opt.txt gcc -c -Q -O3 --help=optimizers >O3.opt.txt diff O2.opt.txt O3.opt.txt The difference will be in enabling of these options: -fgcse-after-reload -fipa-cp-clone -floop-interchange -floop-unroll-and-jam -fpeel-loops -fpredictive-commoning -fsplit-loops -fsplit-paths -ftree-loop-distribution -ftree-partial-pre -funroll-completely-grow-size -funswitch-loops -fvect-cost-model=dynamic -fversion-loops-for-strides We tried to pass these arguments with O2 with CMAKE parameters: CMAKE_CXX_FLAGS_RELEASE & CMAKE_C_FLAGS_RELEASE But it became not equivalent to O3. So, we are not able to catch the option(s), which breaks some boolean operation tests. At this moment to compile OCCT with Mingw you could not use default optimization option O3 - only O2. This is the problem, which we should investigate. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-21 09:01 |
|
New Issue | |
2022-12-21 09:01 |
|
Assigned To | => ddzama |
2022-12-21 09:01 |
|
OS | => Windows 10 |
2022-12-21 09:01 |
|
Platform | => Mingw64 |
2022-12-21 09:01 |
|
Summary | O3 level optimization leads to many failed tests on boolean operations => Coding - O3 level optimization leads to many failed tests on boolean operations |
2023-03-07 13:59 | dpasukhi | Target Version | 7.7.0 => Unscheduled |
2024-01-19 17:33 | vglukhik | Status | new => closed |
2024-01-19 17:33 | vglukhik | Resolution | open => won't fix |
2024-01-19 17:33 | vglukhik | Note Added: 0114937 |