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

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

https://gcc.gnu.org/g:6cfe4fd3fb44b660eaf52302235c4a9992a9ddb4

commit r14-10999-g6cfe4fd3fb44b660eaf52302235c4a9992a9ddb4
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)

Reply via email to