diff options
author | Steven Bosscher <s.bosscher@student.tudelft.nl> | 2003-02-22 06:34:23 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2003-02-22 06:34:23 +0100 |
commit | 26182e150e12399cdd151a70f46e3c937add775c (patch) | |
tree | fa4ab179484b2732016930206d3756d4025af4f7 /gcc/toplev.c | |
parent | c0a47a612627d49755b9ef8225924c6df97eed43 (diff) | |
download | gcc-26182e150e12399cdd151a70f46e3c937add775c.zip gcc-26182e150e12399cdd151a70f46e3c937add775c.tar.gz gcc-26182e150e12399cdd151a70f46e3c937add775c.tar.bz2 |
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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 14 |
1 files changed, 7 insertions, 7 deletions
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)); } |