comparison gcc/ira-emit.c @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents 58ad6c70ea60
children b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
107 /* Free memory for list of the moves given by its HEAD. */ 107 /* Free memory for list of the moves given by its HEAD. */
108 static void 108 static void
109 free_move_list (move_t head) 109 free_move_list (move_t head)
110 { 110 {
111 move_t next; 111 move_t next;
112 112
113 for (; head != NULL; head = next) 113 for (; head != NULL; head = next)
114 { 114 {
115 next = head->next; 115 next = head->next;
116 free_move (head); 116 free_move (head);
117 } 117 }
448 enum reg_class cover_class; 448 enum reg_class cover_class;
449 ira_loop_tree_node_t parent; 449 ira_loop_tree_node_t parent;
450 450
451 if (node != ira_loop_tree_root) 451 if (node != ira_loop_tree_root)
452 { 452 {
453 453
454 if (node->bb != NULL) 454 if (node->bb != NULL)
455 { 455 {
456 FOR_BB_INSNS (node->bb, insn) 456 FOR_BB_INSNS (node->bb, insn)
457 if (INSN_P (insn) && change_regs (&insn)) 457 if (INSN_P (insn) && change_regs (&insn))
458 { 458 {
459 df_insn_rescan (insn); 459 df_insn_rescan (insn);
460 df_notes_rescan (insn); 460 df_notes_rescan (insn);
461 } 461 }
462 return; 462 return;
463 } 463 }
464 464
465 if (internal_flag_ira_verbose > 3 && ira_dump_file != NULL) 465 if (internal_flag_ira_verbose > 3 && ira_dump_file != NULL)
466 fprintf (ira_dump_file, 466 fprintf (ira_dump_file,
467 " Changing RTL for loop %d (header bb%d)\n", 467 " Changing RTL for loop %d (header bb%d)\n",
468 node->loop->num, node->loop->header->index); 468 node->loop->num, node->loop->header->index);
469 469
470 parent = ira_curr_loop_tree_node->parent; 470 parent = ira_curr_loop_tree_node->parent;
471 map = parent->regno_allocno_map; 471 map = parent->regno_allocno_map;
472 EXECUTE_IF_SET_IN_REG_SET (ira_curr_loop_tree_node->border_allocnos, 472 EXECUTE_IF_SET_IN_REG_SET (ira_curr_loop_tree_node->border_allocnos,
473 0, i, bi) 473 0, i, bi)
474 { 474 {