View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027544 | Community | OCCT:Modeling Algorithms | public | 2016-05-26 15:25 | 2016-12-09 16:38 |
Reporter | FredK | Assigned To | bugmaster | ||
Priority | normal | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.9.0 | ||||
Target Version | 7.1.0 | Fixed in Version | 7.1.0 | ||
Summary | 0027544: problem compiling OCCT with gcc version 4.8.2 gives error 'array subscript is above array bounds' | ||||
Description | When compiling the OpenCASCADE library with gcc compiler version 4.8.2, the compiler generates the error 'array subscript is above array bounds' with the following code in IntPatch/IntPatch_InterferencePolyhedron.cxx: line 903: if (nob>=0) { while (nob<nbNoInserted) { piToInsert[nob]=piToInsert[nob+1]; // here the error is generated nob++; } nbNoInserted--; nob=nbNoInserted-1; } | ||||
Steps To Reproduce | Compile OpenCascade\src\IntPatch\IntPatch_InterferencePolyhedron.cxx with gcc 4.8.2 #Test case is not applicable. | ||||
Additional information and documentation updates | fix: line 903: if (nob>=0) { while (nob<nbNoInserted) { if (nob + 1 < 6) piToInsert[nob]=piToInsert[nob+1]; nob++; } nbNoInserted--; nob=nbNoInserted-1; } | ||||
Tags | No tags attached. | ||||
Test case number | |||||
related to | 0026852 | closed | Open CASCADE | Coding - compiler warnings issued by GCC 5.2.1 |
|
The original code looks strange, or I misunderstand it. Probably there might be a bug. |
|
Branch CR27544 has been created by aml. SHA-1: 60ea52b523c28436faf745c5293bff3ec9f37792 Detailed log of new commits: Author: aml Date: Thu May 26 20:08:48 2016 +0300 0027544: problem compiling OCCT with gcc version 4.8.2 gives error 'array subscript is above array bounds' Possible out of borders problem is fixed. |
|
Branch CR27544 has been updated forcibly by aml. SHA-1: 53712ef65810a44695eea7910ea1e6c65ea18821 |
|
Branch CR27544 has been updated forcibly by aml. SHA-1: 67ad0ec9a24960de8f32cc59322bbd913fbc9898 |
|
Dear msv, Please check current state of the CR27544 branch. |
|
Branch CR27544 has been updated forcibly by aml. SHA-1: bf81f9e4cbc1eed830bc8b047d42821fa1aad14a |
|
Reviewed. |
|
Fix has been successfully compile on all platforms. |
|
Branch CR27544 has been deleted by inv. SHA-1: bf81f9e4cbc1eed830bc8b047d42821fa1aad14a |
occt: master 93dc7934 2016-05-26 17:08:48
Committer: bugmaster Details Diff |
0027544: problem compiling OCCT with gcc version 4.8.2 gives error 'array subscript is above array bounds' Possible out of borders problem is fixed. |
Affected Issues 0027544 |
|
mod - src/IntPatch/IntPatch_InterferencePolyhedron.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-05-26 15:25 | FredK | New Issue | |
2016-05-26 15:25 | FredK | Assigned To | => kgv |
2016-05-26 15:48 | kgv | Relationship added | related to 0026852 |
2016-05-26 15:52 | kgv | Note Added: 0054451 | |
2016-05-26 15:52 | kgv | Assigned To | kgv => msv |
2016-05-26 18:28 |
|
Category | OCCT:Coding => OCCT:Modeling Algorithms |
2016-05-26 19:01 |
|
Assigned To | msv => aml |
2016-05-26 19:01 |
|
Status | new => assigned |
2016-05-26 20:09 | git | Note Added: 0054458 | |
2016-05-31 07:50 | git | Note Added: 0054551 | |
2016-05-31 11:09 | git | Note Added: 0054561 | |
2016-05-31 11:10 |
|
Note Added: 0054562 | |
2016-05-31 11:10 |
|
Assigned To | aml => msv |
2016-05-31 11:10 |
|
Status | assigned => resolved |
2016-05-31 11:10 |
|
Steps to Reproduce Updated | |
2016-05-31 19:27 | git | Note Added: 0054581 | |
2016-05-31 19:28 |
|
Note Added: 0054582 | |
2016-05-31 19:28 |
|
Assigned To | msv => bugmaster |
2016-05-31 19:28 |
|
Status | resolved => reviewed |
2016-05-31 20:10 |
|
Assigned To | bugmaster => mkv |
2016-06-01 12:17 |
|
Assigned To | mkv => bugmaster |
2016-06-02 09:56 | bugmaster | Note Added: 0054614 | |
2016-06-02 09:56 | bugmaster | Status | reviewed => tested |
2016-06-03 12:50 | bugmaster | Changeset attached | => occt master 93dc7934 |
2016-06-03 12:50 | bugmaster | Status | tested => verified |
2016-06-03 12:50 | bugmaster | Resolution | open => fixed |
2016-06-03 13:12 | git | Note Added: 0054664 | |
2016-07-25 14:42 | bugmaster | Target Version | => 7.1.0 |
2016-12-09 16:31 |
|
Status | verified => closed |
2016-12-09 16:38 |
|
Fixed in Version | => 7.1.0 |