comparison gcc/gimple-iterator.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
1 /* Iterator routines for GIMPLE statements. 1 /* Iterator routines for GIMPLE statements.
2 Copyright (C) 2007, 2008 Free Software Foundation, Inc. 2 Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc.
3 Contributed by Aldy Hernandez <aldy@quesejoda.com> 3 Contributed by Aldy Hernandez <aldy@quesejoda.com>
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it under 7 GCC is free software; you can redistribute it and/or modify it under
472 gsi_remove (gimple_stmt_iterator *i, bool remove_permanently) 472 gsi_remove (gimple_stmt_iterator *i, bool remove_permanently)
473 { 473 {
474 gimple_seq_node cur, next, prev; 474 gimple_seq_node cur, next, prev;
475 gimple stmt = gsi_stmt (*i); 475 gimple stmt = gsi_stmt (*i);
476 476
477 insert_debug_temps_for_defs (i); 477 if (gimple_code (stmt) != GIMPLE_PHI)
478 insert_debug_temps_for_defs (i);
478 479
479 /* Free all the data flow information for STMT. */ 480 /* Free all the data flow information for STMT. */
480 gimple_set_bb (stmt, NULL); 481 gimple_set_bb (stmt, NULL);
481 delink_stmt_imm_use (stmt); 482 delink_stmt_imm_use (stmt);
482 gimple_set_modified (stmt, true); 483 gimple_set_modified (stmt, true);