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 sanitizer/81460] [8 Regression] ICE in force_constant_size, at gimplify.c:684


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

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Jul 28 10:36:36 2017
New Revision: 250655

URL: https://gcc.gnu.org/viewcvs?rev=250655&root=gcc&view=rev
Log:
Do not handle VLA in sanitization (PR sanitizer/81460).

2017-07-28  Martin Liska  <mliska@suse.cz>

        PR sanitizer/81460
        * sanopt.c (sanitize_rewrite_addressable_params): Do not rewrite
        parameters that are of a variable-length.
2017-07-28  Martin Liska  <mliska@suse.cz>

        PR sanitizer/81460
        * gcc.dg/asan/pr81460.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/asan/pr81460.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sanopt.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]