This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping rtlopt merge patches


> > http://gcc.gnu.org/ml/gcc-patches/2003-02/msg00501.html
> > rtlopt merge part 8 - webizer pass
> > (should really help SPEC on PPC) (had the doc problem).

diff -c -3 -p -r1.705 toplev.c
*** toplev.c    6 Feb 2003 01:47:55 -0000       1.705
--- toplev.c    7 Feb 2003 12:11:05 -0000
*************** enum dump_file_index
*** 239,244 ****
--- 239,245 ----
    DFI_bp,
    DFI_ce1,
    DFI_tracer,
+   DFI_web,
    DFI_cse2,
    DFI_life,
    DFI_combine,
*************** static struct dump_file_info dump_file[D
*** 289,294 ****
--- 290,296 ----
    { "bp",     'b', 1, 0, 0 },
    { "ce1",    'C', 1, 0, 0 },
    { "tracer", 'T', 1, 0, 0 },
+   { "web",      'Z', 0, 0, 0 },
    { "cse2",   't', 1, 0, 0 },
    { "life",   'f', 1, 0, 0 }, /* Yes, duplicate enable switch.  */
    { "combine",        'c', 1, 0, 0 },


*** 3000,3005 ****
--- 3019,3037 ----
  
    close_dump_file (DFI_cfg, print_rtl_with_bb, insns);
  
+   if (flag_web)
+     {
+       open_dump_file (DFI_web, decl);
+       timevar_push (TV_WEB);
+       web_main ();
+       delete_trivially_dead_insns (get_insns (), max_reg_num ());
+       cleanup_cfg (CLEANUP_EXPENSIVE);
+ 
+       timevar_pop (TV_WEB);
+       close_dump_file (DFI_web, print_rtl_with_bb, get_insns ());
+       reg_scan (get_insns (), max_reg_num (), 0);
+     }
+ 
    /* Do branch profiling and static profile estimation passes.  */
    if (optimize > 0 || cfun->arc_profile || flag_branch_probabilities)
      {


This is wrong.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]