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.

[[Split portion of a mixed commit.]]

From-SVN: r63277.1
This commit is contained in:
Steven Bosscher 2003-02-22 06:42:18 +01:00 committed by Andreas Jaeger
parent 9ae46d49c1
commit 2de7672f7a
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/* Top level of GNU C compiler
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002 Free Software Foundation, Inc.
1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@ -4949,7 +4949,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)