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]

fix opt/2960


        PR optimization/2960
        * toplev.c (rest_of_compilation): Don't copy_loop_headers if
        optimize_size.

Index: toplev.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/toplev.c,v
retrieving revision 1.678
diff -c -p -d -r1.678 toplev.c
*** toplev.c	2 Oct 2002 18:46:31 -0000	1.678
--- toplev.c	7 Oct 2002 02:59:39 -0000
*************** rest_of_compilation (decl)
*** 2676,2682 ****
  
    /* CFG is no longer maintained up-to-date.  */
    free_bb_for_insn ();
!   copy_loop_headers (insns);
    purge_line_number_notes (insns);
    find_basic_blocks (insns, max_reg_num (), rtl_dump_file);
  
--- 2676,2683 ----
  
    /* CFG is no longer maintained up-to-date.  */
    free_bb_for_insn ();
!   if (!optimize_size)
!     copy_loop_headers (insns);
    purge_line_number_notes (insns);
    find_basic_blocks (insns, max_reg_num (), rtl_dump_file);
  


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