http://codereview.appspot.com/5272048/diff/18001/tree-asan.c File tree-asan.c (right):
http://codereview.appspot.com/5272048/diff/18001/tree-asan.c#newcode325 tree-asan.c:325: base = build_addr (t, current_function_decl); You need to create a temp var and build as gimple assignment. See init_tmp_var in tree-nested.c. http://codereview.appspot.com/5272048/