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 tree-optimization/86650] -Warray-bounds missing inlining context


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

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Aug 14 19:11:20 2018
New Revision: 263541

URL: https://gcc.gnu.org/viewcvs?rev=263541&root=gcc&view=rev
Log:
PR tree-optimization/86650 - -Warray-bounds missing inlining context

gcc/ChangeLog:

        PR tree-optimization/86650
        * tree-vrp.c (vrp_prop::check_array_ref): Print an inform message.
        (vrp_prop::check_mem_ref): Same.

gcc/testsuite/ChangeLog:

        PR tree-optimization/86650
        * gcc.dg/Warray-bounds-34.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/Warray-bounds-34.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c

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