From 29585247a24b327d800b195610c6686f012d03a9 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 23 Jan 2015 19:33:31 +0100 Subject: [PATCH] re PR driver/64737 (gcc -v print extra blank line) PR driver/64737 * gcc.c (print_configuration): Don't print a blank line at the end here... (run_attempt): ... but here unstead. From-SVN: r220055 --- gcc/ChangeLog | 5 +++++ gcc/gcc.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5eaf5b6026..75f321b2504 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2015-01-23 Jakub Jelinek + PR driver/64737 + * gcc.c (print_configuration): Don't print a blank line at the end + here... + (run_attempt): ... but here unstead. + PR middle-end/64734 * omp-low.c (scan_sharing_clauses): Don't ignore OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses diff --git a/gcc/gcc.c b/gcc/gcc.c index 9f98750aff6..f682c3b0712 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -6331,10 +6331,10 @@ print_configuration (FILE *file) if (! strncmp (version_string, compiler_version, n) && compiler_version[n] == 0) - fnotice (file, "gcc version %s %s\n\n", version_string, + fnotice (file, "gcc version %s %s\n", version_string, pkgversion_string); else - fnotice (file, "gcc driver version %s %sexecuting gcc version %s\n\n", + fnotice (file, "gcc driver version %s %sexecuting gcc version %s\n", version_string, pkgversion_string, compiler_version); } @@ -6438,6 +6438,7 @@ run_attempt (const char **new_argv, const char *out_temp, { FILE *file_out = fopen (err_temp, "a"); print_configuration (file_out); + fputs ("\n", file_out); fclose (file_out); } -- 2.30.2