https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118817
--- Comment #15 from Malik Shahzad MUZAFFAR <shahzad.malik.muzaffar at cern dot ch> --- I confirm that cherry-pick the following two changes - https://gcc.gnu.org/g:0a1d2ea57722c248777e1130de076e28c443ff8b - https://gcc.gnu.org/g:77d01927bd7c989d431035251a5c196fe39bcec9 on top of GCC 14.2.1 helped fixing the array-bound issue. I was able to build our full software stack (approx 600 packages). I do see some array-boud errors/warnings but those might be real one. Thanks, --Shahzad