re PR middle-end/63879 (ICE compiling Linux Kernel fs/ext3/namei.c with -fsanitize=undefined)
PR sanitizer/63879 * fold-const.c (negate_expr_p) <case NEGATE_EXPR>: Return !TYPE_OVERFLOW_SANITIZED. (fold_negate_expr) <case INTEGER_CST>: Fold when overflow does not trap and when overflow wraps, or when SANITIZE_SI_OVERFLOW is 0. * c-c++-common/ubsan/pr63879-1.c: New test. * c-c++-common/ubsan/pr63879-2.c: New test. From-SVN: r217766
Showing
gcc/testsuite/c-c++-common/ubsan/pr63879-1.c
0 → 100644
gcc/testsuite/c-c++-common/ubsan/pr63879-2.c
0 → 100644
Please
register
or
sign in
to comment