https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117254
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:945d4718652a9b32b973f7f2e7563591b5bd0154 commit r13-9322-g945d4718652a9b32b973f7f2e7563591b5bd0154 Author: Richard Biener <rguent...@suse.de> Date: Tue Oct 22 11:46:47 2024 +0200 tree-optimization/117254 - ICE with access diangostics The diagnostics code fails to handle non-constant domain max. PR tree-optimization/117254 * gimple-ssa-warn-access.cc (maybe_warn_nonstring_arg): Check the array domain max is constant before using it. * gcc.dg/pr117254.c: New testcase. (cherry picked from commit d464a52d0678dfea523a60efe8b792ba1b8d40db)