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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:81de4037454275f8ed6d858fbc129e832c6147ef

commit r13-3905-g81de4037454275f8ed6d858fbc129e832c6147ef
Author: Richard Biener <[email protected]>
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.cc (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 <[email protected]>

Reply via email to