comparison 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
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
20 #include "config.h" 20 #include "config.h"
21 #include "system.h" 21 #include "system.h"
22 #include "coretypes.h" 22 #include "coretypes.h"
23 #include "tm.h" 23 #include "tm.h"
24 #include "tree.h" 24 #include "tree.h"
25 #include "rtl.h" 25 #include "rtl.h" /* FIXME: Only for ceil_log2, of all things... */
26 #include "varray.h"
27 #include "ggc.h" 26 #include "ggc.h"
28 #include "basic-block.h" 27 #include "basic-block.h"
29 #include "tree-flow.h" 28 #include "tree-flow.h"
30 #include "toplev.h" 29 #include "toplev.h"
31 #include "gimple.h" 30 #include "gimple.h"
471 470
472 void 471 void
473 remove_phi_node (gimple_stmt_iterator *gsi, bool release_lhs_p) 472 remove_phi_node (gimple_stmt_iterator *gsi, bool release_lhs_p)
474 { 473 {
475 gimple phi = gsi_stmt (*gsi); 474 gimple phi = gsi_stmt (*gsi);
475
476 if (release_lhs_p)
477 insert_debug_temps_for_defs (gsi);
478
476 gsi_remove (gsi, false); 479 gsi_remove (gsi, false);
477 480
478 /* If we are deleting the PHI node, then we should release the 481 /* If we are deleting the PHI node, then we should release the
479 SSA_NAME node so that it can be reused. */ 482 SSA_NAME node so that it can be reused. */
480 release_phi_node (phi); 483 release_phi_node (phi);