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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <mse...@gcc.gnu.org>:

https://gcc.gnu.org/g:77643ac4bbd0ff758edc182a12cb622b74a3c38a

commit r11-7658-g77643ac4bbd0ff758edc182a12cb622b74a3c38a
Author: Martin Sebor <mse...@redhat.com>
Date:   Tue Mar 9 15:02:35 2021 -0700

    PR tree-optimization/99489 - ICE calling strncat after strcat

    gcc/ChangeLog:

            PR tree-optimization/99489
            * builtins.c (gimple_call_alloc_size): Fail gracefully when
argument
            is not a call statement.

    gcc/testsuite/ChangeLog:

            PR tree-optimization/99489
            * gcc.dg/Wstringop-truncation-9.c: New test.

Reply via email to