[Bug tree-optimization/108912] A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread wtc at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 --- Comment #4 from Wan-Teh Chang --- Andrew: Thank you very much for the quick reply. I am also curious about the 15 number. Do you know why the compiler seems to think cfg->stage_num_col and cfg->stage_num_row can be equal to 15? I.e., why do

[Bug tree-optimization/108912] A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread wtc at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 --- Comment #1 from Wan-Teh Chang --- If I increase the size of the `stage_range_col` and `stage_range_row` arrays in the `TXFM_2D_FLIP_CFG` struct from 12 to 13, 14, 15, the warning messages change and eventually disappear when the array size b

[Bug c/108912] New: A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0

2023-02-23 Thread wtc at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912 Bug ID: 108912 Summary: A -Wstringop-overflow false positive in aarch64-linux-gnu-gcc 12.2.0 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal