re PR c++/3782 (-quiet -fstats produces a segmentation fault in cc1plus)

2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>

	PR other/3782
	* toplev.c (process_options): If flag_detailed_statistics is set,
	then set time_report as well.

From-SVN: r63274
This commit is contained in:
Steven Bosscher 2003-02-22 06:34:23 +01:00 committed by Andreas Jaeger
parent c0a47a6126
commit 26182e150e
2 changed files with 30 additions and 20 deletions

View File

@ -1,3 +1,13 @@
2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl>
PR other/3782
* toplev.c (process_options): If flag_detailed_statistics is set,
then set time_report as well.
PR c/8828
* jump.c (never_reached_warning): Don't fall through BARRRIER
insns. Update comments to reflect what the function really does.
2003-02-21 Roger Sayle <roger@eyesopen.com>
* fold-const.c (omit_one_operand): No longer static.
@ -1776,7 +1786,7 @@ Mon Feb 3 21:19:11 CET 2003 Jan Hubicka <jh@suse.cz>
* config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
i386_simplify_dwarf_addr.
(ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
(maybe_get_pool_constant): Likewise.
(maybe_get_pool_constant): Likewise.
Mon Feb 3 16:01:17 CET 2003 Jan Hubicka <jh@suse.cz>
@ -2262,9 +2272,9 @@ Wed Jan 29 10:26:12 CET 2003 Jan Hubicka <jh@suse.cz>
* regclass.c (init_reg_autoinc): New function.
(regclass): Move initialization of forbidden_inc_dec_class from
here...
here...
(init_regs): to here. Avoids reinitialization for each function,
saving compilation time.
saving compilation time.
2003-01-28 Jason Merrill <jason@redhat.com>
@ -2391,16 +2401,16 @@ Wed Jan 29 10:26:12 CET 2003 Jan Hubicka <jh@suse.cz>
Tue Jan 28 12:15:13 CET 2003 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_carry_flag_operator): New predicate.
(fcmov_operator): Fix whitespace.
(ix86_expand_carry_flag_compare): Deal with floating point.
(ix86_expand_int_movcc): Deal with fp; update insn expansion
(ix86_expand_int_addcc): Likewise.
(ix86_expand_strlensi_unroll_1): likewsie.
* i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
* i386.md (add?i_carry_rex64): Use new predicate.
(sub?i3_carry_rex64): Likewise.
(x86_mov?icc_0_m1*): Likewise.
* i386.c (ix86_carry_flag_operator): New predicate.
(fcmov_operator): Fix whitespace.
(ix86_expand_carry_flag_compare): Deal with floating point.
(ix86_expand_int_movcc): Deal with fp; update insn expansion
(ix86_expand_int_addcc): Likewise.
(ix86_expand_strlensi_unroll_1): likewsie.
* i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
* i386.md (add?i_carry_rex64): Use new predicate.
(sub?i3_carry_rex64): Likewise.
(x86_mov?icc_0_m1*): Likewise.
2003-01-28 Andreas Schwab <schwab@suse.de>

View File

@ -596,7 +596,7 @@ int flag_finite_math_only = 0;
/* Zero means that floating-point math operations cannot generate a
(user-visible) trap. This is the case, for example, in nonstop
IEEE 754 arithmetic. Trapping conditions include division by zero,
overflow, underflow, invalid and inexact, but does not include
overflow, underflow, invalid and inexact, but does not include
operations on signaling NaNs (see below). */
int flag_trapping_math = 1;
@ -4439,7 +4439,7 @@ independent_decode_option (argc, argv)
if (argv[1][0])
dump_base_name = argv[1];
return 2;
}
else
@ -4519,7 +4519,7 @@ independent_decode_option (argc, argv)
if (argv[1][0])
aux_base_name = argv[1];
return 2;
}
else if (!strcmp (arg, "auxbase-strip"))
@ -4533,7 +4533,7 @@ independent_decode_option (argc, argv)
if (argv[1][0])
aux_base_name = argv[1];
}
return 2;
}
else
@ -5205,7 +5205,7 @@ process_options ()
print_switch_values (stderr, 0, MAX_LINE, "", " ", "\n");
}
if (! quiet_flag)
if (! quiet_flag || flag_detailed_statistics)
time_report = 1;
if (flag_syntax_only)
@ -5341,7 +5341,7 @@ lang_dependent_init (name)
{
if (dump_base_name == 0)
dump_base_name = name ? name : "gccdump";
/* Front-end initialization. This hook can assume that GC,
identifier hashes etc. are set up, but debug initialization is
not done yet. This routine must return the original filename
@ -5464,7 +5464,7 @@ do_compile ()
else if (filename)
{
char *name = xstrdup (lbasename (filename));
aux_base_name = name;
strip_off_ending (name, strlen (name));
}