Mercurial > hg > CbC > CbC_gcc
diff gcc/tree-phinodes.c @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/tree-phinodes.c Fri Feb 12 23:41:23 2010 +0900 +++ b/gcc/tree-phinodes.c Mon May 24 12:47:05 2010 +0900 @@ -22,8 +22,7 @@ #include "coretypes.h" #include "tm.h" #include "tree.h" -#include "rtl.h" -#include "varray.h" +#include "rtl.h" /* FIXME: Only for ceil_log2, of all things... */ #include "ggc.h" #include "basic-block.h" #include "tree-flow.h" @@ -473,6 +472,10 @@ remove_phi_node (gimple_stmt_iterator *gsi, bool release_lhs_p) { gimple phi = gsi_stmt (*gsi); + + if (release_lhs_p) + insert_debug_temps_for_defs (gsi); + gsi_remove (gsi, false); /* If we are deleting the PHI node, then we should release the