diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-01-23 19:33:31 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-01-23 19:33:31 +0100 |
commit | 29585247a24b327d800b195610c6686f012d03a9 (patch) | |
tree | fb3973a3aa8e73cd9f0bb14de3bc95ab9cced9c7 | |
parent | b8910447230acb4d7651f131174cee296e4ac66d (diff) | |
download | gcc-29585247a24b327d800b195610c6686f012d03a9.zip gcc-29585247a24b327d800b195610c6686f012d03a9.tar.gz gcc-29585247a24b327d800b195610c6686f012d03a9.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcc.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5eaf5b..75f321b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2015-01-23 Jakub Jelinek <jakub@redhat.com> + 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 @@ -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); } |