r238095 - in /branches/gcc-5-branch/gcc: c-fami...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Jul 7 12:42:00 GMT 2016


Author: jakub
Date: Thu Jul  7 12:42:43 2016
New Revision: 238095

URL: https://gcc.gnu.org/viewcvs?rev=238095&root=gcc&view=rev
Log:
	Backported from mainline
	2016-06-13  Jakub Jelinek  <jakub@redhat.com>

	PR sanitizer/71498
	* c-gimplify.c (ubsan_walk_array_refs_r): Set *walk_subtrees = 0 on
	all BIND_EXPRs, and on all BIND_EXPRs recurse also on BIND_EXPR_BODY.

	* c-c++-common/ubsan/bounds-13.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/ubsan/bounds-13.c
Modified:
    branches/gcc-5-branch/gcc/c-family/ChangeLog
    branches/gcc-5-branch/gcc/c-family/c-gimplify.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list