This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r192844 - in /branches/asan/gcc: ChangeLog.asan...
- From: dodji at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 26 Oct 2012 12:58:29 -0000
- Subject: r192844 - in /branches/asan/gcc: ChangeLog.asan...
Author: dodji
Date: Fri Oct 26 12:58:28 2012
New Revision: 192844
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192844
Log:
[asan] Factorize condition insertion code out of build_check_stmt
This patch splits a new create_cond_insert_point_before_iter function
out of build_check_stmt, to be used by a later patch.
Tested by running cc1 -fasan on the test program below with and
without the patch and by inspecting the gimple output to see that
there is no change.
void
foo ()
{
char foo[1] = {0};
foo[0] = 1;
}
gcc/
* asan.c (create_cond_insert_point_before_iter): Factorize out of ...
(build_check_stmt): ... here.
Modified:
branches/asan/gcc/ChangeLog.asan
branches/asan/gcc/asan.c