aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-03-01 11:27:41 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2009-03-01 11:27:41 +0000
commit033505fc8c49d06785a6f96d9f921cd0de0a1d1e (patch)
tree40516af8a40d8dd35bb6cae5a4beaeb40b9bbc47 /gcc/gcc.c
parent4d07705422a0d94873d0da92a3c1dda06ee96de7 (diff)
downloadgcc-033505fc8c49d06785a6f96d9f921cd0de0a1d1e.zip
gcc-033505fc8c49d06785a6f96d9f921cd0de0a1d1e.tar.gz
gcc-033505fc8c49d06785a6f96d9f921cd0de0a1d1e.tar.bz2
gcc.c (main): If print_help_list and verbose_flag...
gcc/ * gcc.c (main): If print_help_list and verbose_flag, ensure driver output comes before subprocess output. From-SVN: r144524
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index b8691f9..c2850bf 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6601,7 +6601,10 @@ main (int argc, char **argv)
/* We do not exit here. Instead we have created a fake input file
called 'help-dummy' which needs to be compiled, and we pass this
- on the various sub-processes, along with the --help switch. */
+ on the various sub-processes, along with the --help switch.
+ Ensure their output appears after ours. */
+ fputc ('\n', stdout);
+ fflush (stdout);
}
if (verbose_flag)