Allow asan at -O0
commitffd77b7b947d9c91e105ba55af1d9460c4212f7e
authorJakub Jelinek <jakub@redhat.com>
Fri, 12 Oct 2012 21:32:22 +0000 (12 21:32 +0000)
committerDodji Seketeli <dodji@seketeli.org>
Fri, 9 Nov 2012 17:02:28 +0000 (9 18:02 +0100)
treea5fc1dca1c39356c318bf136c5848d71608eec72
parent72ed51c18dd269ee10fa1b70a919d77de498fc06
Allow asan at -O0

This patch defines a new asan pass gate that is activated at -O0, in
addition to the pass that was initially activated at -O3 level The
patch also does some comment cleanups here and there.

* asan.c (build_check_stmt): Rename join_bb variable to else_bb.
(gate_asan_O0): New function.
(pass_asan_O0): New variable.
* passes.c (init_optimization_passes): Add pass_asan_O0.
* tree-pass.h (pass_asan_O0): New declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/asan@192415 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.asan
gcc/asan.c
gcc/passes.c
gcc/tree-pass.h