Deleted Added
full compact
toplev.c (132734) toplev.c (146908)
1/* Top level of GCC compilers (cc1, cc1plus, etc.)
2 Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify it under
8the terms of the GNU General Public License as published by the Free

--- 5 unchanged lines hidden (view full) ---

14FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING. If not, write to the Free
19Software Foundation, 59 Temple Place - Suite 330, Boston, MA
2002111-1307, USA. */
21
1/* Top level of GCC compilers (cc1, cc1plus, etc.)
2 Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify it under
8the terms of the GNU General Public License as published by the Free

--- 5 unchanged lines hidden (view full) ---

14FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING. If not, write to the Free
19Software Foundation, 59 Temple Place - Suite 330, Boston, MA
2002111-1307, USA. */
21
22/* $FreeBSD: head/contrib/gcc/toplev.c 132734 2004-07-28 04:20:36Z kan $ */
22/* $FreeBSD: head/contrib/gcc/toplev.c 146908 2005-06-03 04:02:20Z kan $ */
23
24/* This is the top level of cc1/c++.
25 It parses command args, opens files, invokes the various passes
26 in the proper order, and counts the time used by each.
27 Error messages and low-level interface to malloc also handled here. */
28
29#include "config.h"
30#undef FLOAT /* This is for hpux. They should change hpux. */

--- 1830 unchanged lines hidden (view full) ---

1861
1862 (*debug_hooks->finish) (main_input_filename);
1863 timevar_pop (TV_SYMOUT);
1864
1865 /* Output some stuff at end of file if nec. */
1866
1867 dw2_output_indirect_constants ();
1868
23
24/* This is the top level of cc1/c++.
25 It parses command args, opens files, invokes the various passes
26 in the proper order, and counts the time used by each.
27 Error messages and low-level interface to malloc also handled here. */
28
29#include "config.h"
30#undef FLOAT /* This is for hpux. They should change hpux. */

--- 1830 unchanged lines hidden (view full) ---

1861
1862 (*debug_hooks->finish) (main_input_filename);
1863 timevar_pop (TV_SYMOUT);
1864
1865 /* Output some stuff at end of file if nec. */
1866
1867 dw2_output_indirect_constants ();
1868
1869 /* Flush any pending equate directives. */
1870 process_pending_assemble_output_defs ();
1871
1869 if (profile_arc_flag || flag_test_coverage || flag_branch_probabilities)
1870 {
1871 timevar_push (TV_DUMP);
1872 open_dump_file (DFI_bp, NULL);
1873
1874 end_branch_prob ();
1875
1876 close_dump_file (DFI_bp, NULL, NULL_RTX);

--- 1780 unchanged lines hidden (view full) ---

3657 free_basic_block_vars (0);
3658 free_bb_for_insn ();
3659
3660 timevar_pop (TV_FINAL);
3661
3662 if ((*targetm.binds_local_p) (current_function_decl))
3663 {
3664 int pref = cfun->preferred_stack_boundary;
1872 if (profile_arc_flag || flag_test_coverage || flag_branch_probabilities)
1873 {
1874 timevar_push (TV_DUMP);
1875 open_dump_file (DFI_bp, NULL);
1876
1877 end_branch_prob ();
1878
1879 close_dump_file (DFI_bp, NULL, NULL_RTX);

--- 1780 unchanged lines hidden (view full) ---

3660 free_basic_block_vars (0);
3661 free_bb_for_insn ();
3662
3663 timevar_pop (TV_FINAL);
3664
3665 if ((*targetm.binds_local_p) (current_function_decl))
3666 {
3667 int pref = cfun->preferred_stack_boundary;
3665 if (cfun->recursive_call_emit
3666 && cfun->stack_alignment_needed > cfun->preferred_stack_boundary)
3668 if (cfun->stack_alignment_needed > cfun->preferred_stack_boundary)
3667 pref = cfun->stack_alignment_needed;
3668 cgraph_rtl_info (current_function_decl)->preferred_incoming_stack_boundary
3669 = pref;
3670 }
3671
3672 /* Make sure volatile mem refs aren't considered valid operands for
3673 arithmetic insns. We must call this here if this is a nested inline
3674 function, since the above code leaves us in the init_recog state

--- 815 unchanged lines hidden (view full) ---

4490 if (flag_signaling_nans)
4491 flag_trapping_math = 1;
4492}
4493
4494/* Initialize the compiler back end. */
4495static void
4496backend_init (void)
4497{
3669 pref = cfun->stack_alignment_needed;
3670 cgraph_rtl_info (current_function_decl)->preferred_incoming_stack_boundary
3671 = pref;
3672 }
3673
3674 /* Make sure volatile mem refs aren't considered valid operands for
3675 arithmetic insns. We must call this here if this is a nested inline
3676 function, since the above code leaves us in the init_recog state

--- 815 unchanged lines hidden (view full) ---

4492 if (flag_signaling_nans)
4493 flag_trapping_math = 1;
4494}
4495
4496/* Initialize the compiler back end. */
4497static void
4498backend_init (void)
4499{
4498 init_adjust_machine_modes ();
4499
4500 init_emit_once (debug_info_level == DINFO_LEVEL_NORMAL
4501 || debug_info_level == DINFO_LEVEL_VERBOSE
4502#ifdef VMS_DEBUGGING_INFO
4503 /* Enable line number info for traceback. */
4504 || debug_info_level > DINFO_LEVEL_NONE
4505#endif
4506 || flag_test_coverage
4507 || warn_notreached);

--- 127 unchanged lines hidden (view full) ---

4635 timevar_init ();
4636 timevar_start (TV_TOTAL);
4637
4638 process_options ();
4639
4640 /* Don't do any more if an error has already occurred. */
4641 if (!errorcount)
4642 {
4500 init_emit_once (debug_info_level == DINFO_LEVEL_NORMAL
4501 || debug_info_level == DINFO_LEVEL_VERBOSE
4502#ifdef VMS_DEBUGGING_INFO
4503 /* Enable line number info for traceback. */
4504 || debug_info_level > DINFO_LEVEL_NONE
4505#endif
4506 || flag_test_coverage
4507 || warn_notreached);

--- 127 unchanged lines hidden (view full) ---

4635 timevar_init ();
4636 timevar_start (TV_TOTAL);
4637
4638 process_options ();
4639
4640 /* Don't do any more if an error has already occurred. */
4641 if (!errorcount)
4642 {
4643 /* This must be run always, because it is needed to compute the FP
4644 predefined macros, such as __LDBL_MAX__, for targets using non
4645 default FP formats. */
4646 init_adjust_machine_modes ();
4647
4643 /* Set up the back-end if requested. */
4644 if (!no_backend)
4645 backend_init ();
4646
4647 /* Language-dependent initialization. Returns true on success. */
4648 if (lang_dependent_init (main_input_filename))
4649 {
4650 if (flag_unit_at_a_time)

--- 53 unchanged lines hidden ---
4648 /* Set up the back-end if requested. */
4649 if (!no_backend)
4650 backend_init ();
4651
4652 /* Language-dependent initialization. Returns true on success. */
4653 if (lang_dependent_init (main_input_filename))
4654 {
4655 if (flag_unit_at_a_time)

--- 53 unchanged lines hidden ---