From: rwild Date: Sun, 1 Mar 2009 11:27:41 +0000 (+0000) Subject: gcc/ X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;ds=inline;h=0445c34931d8407160c99311fe60cc6f26b7d04f;hp=1df76a7982581c4557b57ee92d80eff2c7001ede;p=pf3gnuchains%2Fgcc-fork.git gcc/ * gcc.c (main): If print_help_list and verbose_flag, ensure driver output comes before subprocess output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144524 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b6bcef6ec74..1647c2f8750 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2009-03-01 Ralf Wildenhues + * gcc.c (main): If print_help_list and verbose_flag, ensure + driver output comes before subprocess output. + * optc-gen.awk: Assign all remaining fields to help string, space-separated, for multi-line help in *.opt. diff --git a/gcc/gcc.c b/gcc/gcc.c index b8691f93320..c2850bf4ddd 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)