r246521 - in /trunk/gcc: ChangeLog fold-const.c...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Tue Mar 28 08:13:00 GMT 2017


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-cvs mailing list