From 26182e150e12399cdd151a70f46e3c937add775c Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Sat, 22 Feb 2003 06:34:23 +0100 Subject: re PR c++/3782 (-quiet -fstats produces a segmentation fault in cc1plus) 2003-02-22 Steven Bosscher PR other/3782 * toplev.c (process_options): If flag_detailed_statistics is set, then set time_report as well. From-SVN: r63274 --- gcc/toplev.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index 4489852..e55d265 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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)); } -- cgit v1.1