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 c/79731] [7 Regression] ICE: verify_gimple failed


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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Feb 28 15:31:30 2017
New Revision: 245779

URL: https://gcc.gnu.org/viewcvs?rev=245779&root=gcc&view=rev
Log:
2017-02-28  Richard Biener  <rguenther@suse.de>

        PR middle-end/79731
        * fold-const.c (decode_field_reference): Reject out-of-bound
        accesses.

        * c-c++-common/torture/pr79731.c: New testcase.

Added:
    trunk/gcc/testsuite/c-c++-common/torture/pr79731.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.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]