comparison gcc/cfgrtl.c @ 19:58ad6c70ea60

update gcc from 4.4.0 to 4.4.1.
author kent@firefly.cr.ie.u-ryukyu.ac.jp
date Thu, 24 Sep 2009 13:21:57 +0900
parents a06113de4d67
children 77e2b8dfacca
comparison
equal deleted inserted replaced
18:33936f7f2835 19:58ad6c70ea60
51 #include "function.h" 51 #include "function.h"
52 #include "except.h" 52 #include "except.h"
53 #include "toplev.h" 53 #include "toplev.h"
54 #include "tm_p.h" 54 #include "tm_p.h"
55 #include "obstack.h" 55 #include "obstack.h"
56 #include "insn-attr.h"
56 #include "insn-config.h" 57 #include "insn-config.h"
57 #include "cfglayout.h" 58 #include "cfglayout.h"
58 #include "expr.h" 59 #include "expr.h"
59 #include "target.h" 60 #include "target.h"
60 #include "cfgloop.h" 61 #include "cfgloop.h"
425 if (!BARRIER_P (insn)) 426 if (!BARRIER_P (insn))
426 BLOCK_FOR_INSN (insn) = NULL; 427 BLOCK_FOR_INSN (insn) = NULL;
427 return 0; 428 return 0;
428 } 429 }
429 430
431 static unsigned int
432 rest_of_pass_free_cfg (void)
433 {
434 #ifdef DELAY_SLOTS
435 /* The resource.c machinery uses DF but the CFG isn't guaranteed to be
436 valid at that point so it would be too late to call df_analyze. */
437 if (optimize > 0 && flag_delayed_branch)
438 df_analyze ();
439 #endif
440
441 free_bb_for_insn ();
442 return 0;
443 }
444
430 struct rtl_opt_pass pass_free_cfg = 445 struct rtl_opt_pass pass_free_cfg =
431 { 446 {
432 { 447 {
433 RTL_PASS, 448 RTL_PASS,
434 NULL, /* name */ 449 NULL, /* name */
435 NULL, /* gate */ 450 NULL, /* gate */
436 free_bb_for_insn, /* execute */ 451 rest_of_pass_free_cfg, /* execute */
437 NULL, /* sub */ 452 NULL, /* sub */
438 NULL, /* next */ 453 NULL, /* next */
439 0, /* static_pass_number */ 454 0, /* static_pass_number */
440 0, /* tv_id */ 455 0, /* tv_id */
441 0, /* properties_required */ 456 0, /* properties_required */