[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 23 21:11:00 GMT 2020


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

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

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

commit r11-3409-g6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d
Author: Martin Sebor <msebor@redhat.com>
Date:   Wed Sep 23 15:04:32 2020 -0600

    Handle DECLs and EXPRESSIONs consistently (PR middle-end/97175).

    gcc/ChangeLog:

            PR middle-end/97175
            * builtins.c (maybe_warn_for_bound): Handle both DECLs and
EXPRESSIONs
            in pad->dst.ref, same is pad->src.ref.

    gcc/testsuite/ChangeLog:

            PR middle-end/97175
            * gcc.dg/Wstringop-overflow-44.c: New test.


More information about the Gcc-bugs mailing list