Commit 29585247 by Jakub Jelinek Committed by Jakub Jelinek

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
parent b8910447
2015-01-23 Jakub Jelinek <jakub@redhat.com> 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 PR middle-end/64734
* omp-low.c (scan_sharing_clauses): Don't ignore * omp-low.c (scan_sharing_clauses): Don't ignore
OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
......
...@@ -6331,10 +6331,10 @@ print_configuration (FILE *file) ...@@ -6331,10 +6331,10 @@ print_configuration (FILE *file)
if (! strncmp (version_string, compiler_version, n) if (! strncmp (version_string, compiler_version, n)
&& compiler_version[n] == 0) && 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); pkgversion_string);
else 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); version_string, pkgversion_string, compiler_version);
} }
...@@ -6438,6 +6438,7 @@ run_attempt (const char **new_argv, const char *out_temp, ...@@ -6438,6 +6438,7 @@ run_attempt (const char **new_argv, const char *out_temp,
{ {
FILE *file_out = fopen (err_temp, "a"); FILE *file_out = fopen (err_temp, "a");
print_configuration (file_out); print_configuration (file_out);
fputs ("\n", file_out);
fclose (file_out); fclose (file_out);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment