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

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

https://gcc.gnu.org/g:5d62d86d958a217cdb4155a557aeda1d0e644aba

commit r10-11179-g5d62d86d958a217cdb4155a557aeda1d0e644aba
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Nov 11 14:28:52 2022 +0100

    tree-optimization/107554 - fix ICE in stlen optimization

    The following fixes a wrongly typed variable causing an ICE.

            PR tree-optimization/107554
            * tree-ssa-strlen.c (strlen_pass::count_nonzero_bytes):
            Use unsigned HOST_WIDE_INT type for the strlen.

            * gcc.dg/pr107554.c: New testcase.

    Co-Authored-By: Nikita Voronov <nik_1...@mail.ru>
    (cherry picked from commit 81de4037454275f8ed6d858fbc129e832c6147ef)
  • [Bug tree-optimization/107554] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to