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]

[patch] tree-optimization/21048


This patch fixes 21048.  I have bootstrapped and verified on
i686-pc-linux-gnu with no new failures. Others have verified the same
thing on various PowerPC configurations.

Checked in.

Andrew


	* tree-cfg.c (bsi_replace): Delink immediate uses for the original stmt.


Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v
retrieving revision 2.176
diff -c -p -r2.176 tree-cfg.c
*** tree-cfg.c	21 Apr 2005 09:17:20 -0000	2.176
--- tree-cfg.c	25 Apr 2005 18:32:48 -0000
*************** bsi_replace (const block_stmt_iterator *
*** 3009,3014 ****
--- 3009,3015 ----
  	add_stmt_to_eh_region (stmt, eh_region);
      }
  
+   delink_stmt_imm_use (orig_stmt);
    *bsi_stmt_ptr (*bsi) = stmt;
    mark_stmt_modified (stmt);
    update_modified_stmts (stmt);



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