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
This commit is contained in:
Ralf Wildenhues 2009-03-01 11:27:41 +00:00 committed by Ralf Wildenhues
parent 4d07705422
commit 033505fc8c
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* 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.

View File

@ -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)