From: Martin Liska Date: Wed, 4 Jul 2018 07:32:16 +0000 (+0200) Subject: Fix DOS-based system build and fix documentation. X-Git-Tag: basepoints/gcc-10~5540 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7709f595efd867318f501db72832fe420dad8560;p=thirdparty%2Fgcc.git Fix DOS-based system build and fix documentation. 2018-07-04 Martin Liska Jonathan Wakely * coverage.c: Use correct type. * doc/invoke.texi: Language correction. Co-Authored-By: Jonathan Wakely From-SVN: r262373 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 05d1e05e9909..3a6e9decca39 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-07-04 Martin Liska + Jonathan Wakely + + * coverage.c: Use correct type. + * doc/invoke.texi: Language correction. + 2018-07-03 H.J. Lu PR target/85620 diff --git a/gcc/coverage.c b/gcc/coverage.c index 9c9d3dbd39e9..da171c84d3ca 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -1227,7 +1227,7 @@ coverage_init (const char *filename) if (profile_data_prefix) { #if HAVE_DOS_BASED_FILE_SYSTEM - const char separator = "\\"; + const char *separator = "\\"; #else const char *separator = "/"; #endif diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 56cd122b0d7b..31d4f1047ba4 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11352,9 +11352,10 @@ and used by @option{-fprofile-use} and @option{-fbranch-probabilities} and its related options. Both absolute and relative paths can be used. By default, GCC uses the current directory as @var{path}, thus the profile data file appears in the same directory as the object file. -In order to prevent filename clashing, if object file name is not an absolute -path, we mangle absolute path of @file{@var{sourcename}.gcda} file and -use it as file name of a @file{.gcda} file. +In order to prevent the file name clashing, if the object file name is +not an absolute path, we mangle the absolute path of the +@file{@var{sourcename}.gcda} file and use it as the file name of a +@file{.gcda} file. When an executable is run in a massive parallel environment, it is recommended to save profile to different folders. That can be done with variables