[Bug middle-end/86202] [8/9 Regression] ICE in get_range_info calling an invalid memcpy() declaration

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 13 13:38:00 GMT 2018


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

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Jul 13 13:36:35 2018
New Revision: 262635

URL: https://gcc.gnu.org/viewcvs?rev=262635&root=gcc&view=rev
Log:
        PR middle-end/86202
        * gimple-fold.c (size_must_be_zero_p): Check the type of the size.

        * gcc.dg/Wint-conversion-2.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/Wint-conversion-2.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/gimple-fold.c


More information about the Gcc-bugs mailing list