This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor problem in toplev.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: Minor problem in toplev.c
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Mon, 28 Feb 00 07:16:51 EST
I committed the following:
Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* toplev.c (rest_of_compilation): Account for time in
optimize_mode_switching.
*** toplev.c 2000/02/28 09:51:41 1.295
--- toplev.c 2000/02/28 12:02:41
*************** rest_of_compilation (decl)
*** 3316,3321 ****
TIMEVAR (combine_time,
{
! rebuild_jump_labels_after_combine =
! combine_instructions (insns, max_reg_num ());
});
--- 3316,3321 ----
TIMEVAR (combine_time,
{
! rebuild_jump_labels_after_combine
! = combine_instructions (insns, max_reg_num ());
});
*************** rest_of_compilation (decl)
*** 3362,3374 ****
}
- /* Print function header into sched dump now
- because doing the sched analysis makes some of the dump. */
-
if (optimize && n_basic_blocks)
{
! optimize_mode_switching (NULL_PTR);
}
#ifdef INSN_SCHEDULING
if (optimize > 0 && flag_schedule_insns)
{
--- 3362,3374 ----
}
if (optimize && n_basic_blocks)
{
! TIMEVAR (gcse_time, optimize_mode_switching (NULL_PTR));
}
#ifdef INSN_SCHEDULING
+
+ /* Print function header into sched dump now
+ because doing the sched analysis makes some of the dump. */
if (optimize > 0 && flag_schedule_insns)
{