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

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

https://gcc.gnu.org/g:2b12998ff9370f4a0aa8c0562f933c2e7efdb41d

commit r12-10911-g2b12998ff9370f4a0aa8c0562f933c2e7efdb41d
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)
  • [Bug tree-optimization/117254] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to