This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]