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 #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Jul  3 14:21:15 2018
New Revision: 262344

URL: https://gcc.gnu.org/viewcvs?rev=262344&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:
    trunk/gcc/testsuite/gcc.dg/Wint-conversion-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog

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