http://codereview.appspot.com/5303083/diff/3002/gcc/tree-tsan.c
File gcc/tree-tsan.c (right):

http://codereview.appspot.com/5303083/diff/3002/gcc/tree-tsan.c#newcode1075
gcc/tree-tsan.c:1075: for (eidx = 0; VEC_iterate (edge, exit_bb->preds,
eidx, e); eidx++)
Use FOR_EACH_EDGE macro

http://codereview.appspot.com/5303083/diff/3002/gcc/tree-tsan.c#newcode1082
gcc/tree-tsan.c:1082: gsi_insert_seq_before (&gsi, post_func_seq,
GSI_SAME_STMT);
On 2011/11/01 11:39:49, dvyukov wrote:
Do I need to make a copy of POST_FUNC_SEQ here?
I think that I do not need location info for this code at all, so is
it OK to
leave the seq w/o location and then insert it into several basic
blocks?

Yes, do not share gimple stmts.

http://codereview.appspot.com/5303083/

Reply via email to