summaryrefslogtreecommitdiff
path: root/gcc/asan.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2013-09-26 13:23:31 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2013-09-26 13:23:31 +0000
commitff2a63a749c386637ef085f7bc3102a8d8d2aab3 (patch)
tree0bdac19cc1c197b2e326293eb4c1344554b4e7b5 /gcc/asan.c
parenta2544177b989c29fe893e55d422c8d9e6f27c6b3 (diff)
downloadgcc-ff2a63a749c386637ef085f7bc3102a8d8d2aab3.tar.gz
gimple.c (gimple_replace_lhs): Move to tree-ssa.c and rename.
2013-09-26 Andrew MacLeod <amacleod@redhat.com> * gimple.c (gimple_replace_lhs): Move to tree-ssa.c and rename. (struct count_ptr_d, count_ptr_derefs, count_uses_and_derefs): Move to tree-ssa.c (create_gimple_tmp): Delete. (get_expr_type, build_assign, build_type_cast): Move to... * gimple-builder.c: New File. (get_expr_type): Relocate from gimple.c. (build_assign, build_type_cast): Change to only create ssanames. * gimple.h: Move prototypes to... * gimple-builder.h: New File. Here. * tree-ssa.h: And here. * tree-ssa.c (struct count_ptr_d, count_ptr_derefs, count_uses_and_derefs): Relocate from gimple.c. (gimple_replace_ssa_lhs): Renamed gimple_replace_ssa from gimple.c * tree-ssa-reassoc.c (repropagate_negates): Use gimple_replace_ssa_lhs. * tree-ssa-math-opts (execute_cse_reciprocals): Use gimple_replace_ssa_lhs. * asan.c: Include gimple-builder.h. * Makefile.in: Add gimple-builder.o. From-SVN: r202945
Diffstat (limited to 'gcc/asan.c')
-rw-r--r--gcc/asan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/asan.c b/gcc/asan.c
index 32f183775cd..2e1fb0e4082 100644
--- a/gcc/asan.c
+++ b/gcc/asan.c
@@ -37,6 +37,7 @@ along with GCC; see the file COPYING3. If not see
#include "hash-table.h"
#include "alloc-pool.h"
#include "cfgloop.h"
+#include "gimple-builder.h"
/* AddressSanitizer finds out-of-bounds and use-after-free bugs
with <2x slowdown on average.