[Bug middle-end/82286] Wrong array subscript is above array bounds

2017-09-26 Thread hermantenbrugge at home dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286 --- Comment #4 from Herman ten Brugge --- Created attachment 42238 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42238=edit modified test case I modified the testcase a little bit and did some debugging. The code outputs a failure if

[Bug middle-end/82286] Wrong array subscript is above array bounds

2017-09-22 Thread hermantenbrugge at home dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286 --- Comment #3 from Herman ten Brugge --- If I put: if (p_input_matrix->nof_rows > MAX_MATRIX_SIZE || p_input_matrix->nof_cols > MAX_MATRIX_SIZE) return; at the start of my function I still get the warning. I removed some assert statement

[Bug middle-end/82286] Wrong array subscript is above array bounds

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug middle-end/82286] Wrong array subscript is above array bounds

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|