[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
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: wtc at google dot com CC: msebor at gcc dot gnu.org Target Milestone: --- Created attachment 54522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54522&

[Bug c/35213] 1 << -1 inconsistent across platforms

2008-02-15 Thread wtc at google dot com
--- Comment #2 from wtc at google dot com 2008-02-15 21:08 --- We're just asking for consistent behavior across platforms. It would be nice if our broken code fails in the same way. If it would take a lot of work to get consistency, we don't want you to waste that time.