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/80067] [6/7 Regression] ICE in fold_comparison with -fsanitize=undefined


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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Mar 28 08:16:27 2017
New Revision: 246522

URL: https://gcc.gnu.org/viewcvs?rev=246522&root=gcc&view=rev
Log:
        PR sanitizer/80067
        * fold-const.c (fold_comparison): Use protected_set_expr_location
        instead of SET_EXPR_LOCATION.

        * c-c++-common/ubsan/shift-10.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/c-c++-common/ubsan/shift-10.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/fold-const.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

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