https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117254

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:d464a52d0678dfea523a60efe8b792ba1b8d40db

commit r15-4541-gd464a52d0678dfea523a60efe8b792ba1b8d40db
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.

Reply via email to