]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/3782 (-quiet -fstats produces a segmentation fault in cc1plus)
authorSteven Bosscher <s.bosscher@student.tudelft.nl>
Sat, 22 Feb 2003 05:42:18 +0000 (06:42 +0100)
committerAndreas Jaeger <aj@gcc.gnu.org>
Sat, 22 Feb 2003 05:42:18 +0000 (06:42 +0100)
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

gcc/toplev.c

index c40beea2e828deb78f9cf1244379bb3e748fa6a8..74691028186465b5673f215ba4d7858f97d0a8b5 100644 (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)