From: Steven Bosscher Date: Sat, 22 Feb 2003 05:42:18 +0000 (+0100) Subject: re PR c++/3782 (-quiet -fstats produces a segmentation fault in cc1plus) X-Git-Tag: releases/gcc-3.2.3~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2de7672f7af442e33679c87142d183fe7e0db1f7;p=thirdparty%2Fgcc.git 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. [[Split portion of a mixed commit.]] From-SVN: r63277.1 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index c40beea2e828..746910281864 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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)