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]

r212332 - in /trunk/gcc: ChangeLog asan.c tests...


Author: chefmax
Date: Mon Jul  7 14:31:18 2014
New Revision: 212332

URL: https://gcc.gnu.org/viewcvs?rev=212332&root=gcc&view=rev
Log:

Do not instrument first byte in strlen if already instrumented.

gcc/
	* asan.c (instrument_strlen_call): Do not instrument first byte in strlen
	if already instrumented.

gcc/testsuite/
	* c-c++-common/asan/no-redundant-instrumentation-9.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/asan.c
    trunk/gcc/testsuite/ChangeLog


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