This is the mail archive of the gcc-cvs@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]

r241961 - in /trunk/gcc: ChangeLog dbgcnt.def g...


Author: marxin
Date: Tue Nov  8 12:28:33 2016
New Revision: 241961

URL: https://gcc.gnu.org/viewcvs?rev=241961&root=gcc&view=rev
Log:
use-after-scope fallout

	PR testsuite/78242
	* g++.dg/asan/use-after-scope-4.C: New test.
	* g++.dg/asan/use-after-scope-types-4.C: Update scanned pattern.
	* gcc.dg/asan/use-after-scope-8.c: Remove.
	PR testsuite/78242
	* dbgcnt.def: Add new debug counter asan_use_after_scope.
	* gimplify.c (gimplify_decl_expr): Do not sanitize vars
	with a value expr.  Do not add artificial variables to
	live_switch_vars.  Use the debug counter.
	(gimplify_target_expr): Use the debug counter.
	* internal-fn.def: Remove ECF_TM_PURE from ASAN_MARK builtin.
	* sanitizer.def: Set ATTR_NOTHROW_LEAF_LIST to
	BUILT_IN_ASAN_CLOBBER_N and BUILT_IN_ASAN_UNCLOBBER_N.

Added:
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-4.C
Removed:
    trunk/gcc/testsuite/gcc.dg/asan/use-after-scope-8.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dbgcnt.def
    trunk/gcc/gimplify.c
    trunk/gcc/internal-fn.def
    trunk/gcc/sanitizer.def
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/asan/use-after-scope-types-4.C


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