This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] final statement chaining patch


Hello,

during your rewrite, the following chunk of code disappeared from
bsi_replace; I believe it should be readded.

Zdenek

Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-cfg.c,v
retrieving revision 1.1.4.209
diff -c -3 -p -r1.1.4.209 tree-cfg.c
*** tree-cfg.c	12 Nov 2003 22:06:25 -0000	1.1.4.209
--- tree-cfg.c	12 Nov 2003 23:31:56 -0000
*************** bsi_move_to_bb_end (block_stmt_iterator 
*** 2240,2245 ****
--- 2307,2315 ----
  void
  bsi_replace (const block_stmt_iterator *bsi, tree stmt)
  {
+   SET_EXPR_LOCUS (stmt, EXPR_LOCUS (bsi_stmt (*bsi)));
+   set_bb_for_stmt (stmt, bsi->bb);
+       
    *bsi_stmt_ptr (*bsi) = stmt;
    modify_stmt (stmt);
  }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]