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/81505] [5/6/7/8 Regression] ICE in tree-ssa-loop-manip.c:95 with -fsanitize=signed-integer-overflow


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jul 25 07:04:07 2017
New Revision: 250494

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

        PR middle-end/81505
        * fold-const.c (fold_negate_const): TREE_OVERFLOW should be
        sticky.

        * gcc.dg/ubsan/pr81505.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/ubsan/pr81505.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]