https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912
--- Comment #1 from Wan-Teh Chang <wtc at google dot com> --- 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 becomes 15. This seems to imply the compiler somehow thinks cfg->stage_num_col and cfg->stage_num_row can be equal to 15, but I can't figure out how the compiler arrives at the 15 number. Also, I don't get these warnings if I compile with /usr/bin/cc on my Debian x86_64 GNU/Linux system, which has the following verison: $ /usr/bin/cc --version cc (Debian 12.2.0-10) 12.2.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.