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 <mse...@gcc.gnu.org>:

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

commit r11-3409-g6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d
Author: Martin Sebor <mse...@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.

Reply via email to