[Bug sanitizer/80067] [6/7 Regression] ICE in fold_comparison with -fsanitize=undefined
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 28 08:13:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80067
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Mar 28 08:13:04 2017
New Revision: 246521
URL: https://gcc.gnu.org/viewcvs?rev=246521&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:
trunk/gcc/testsuite/c-c++-common/ubsan/shift-10.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list