diff options
author | Dodji Seketeli <dodji@redhat.com> | 2012-11-12 15:53:12 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2012-11-12 16:53:12 +0100 |
commit | 01452015d7d9b18b1dfa4c7343cc6f84f8038b7e (patch) | |
tree | 58f6a8d08631badb3698e59ee76a7fabdd850d82 /gcc/gimple.c | |
parent | dc29bf1eefe6dcc9c1db8249ac732d55d8a62539 (diff) | |
download | gcc-01452015d7d9b18b1dfa4c7343cc6f84f8038b7e.zip gcc-01452015d7d9b18b1dfa4c7343cc6f84f8038b7e.tar.gz gcc-01452015d7d9b18b1dfa4c7343cc6f84f8038b7e.tar.bz2 |
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.
From-SVN: r193439
Diffstat (limited to 'gcc/gimple.c')
0 files changed, 0 insertions, 0 deletions