2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-24 07:30:31 +08:00

re PR bootstrap/47055 ("make profiledbootstrap" fails on MSYS/mingw-w64)

2011-01-04  Kai Tietz  <kai.tietz@onevision.com>

        PR bootstrap/47055
        * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.

From-SVN: r168475
This commit is contained in:
Kai Tietz 2011-01-04 18:05:06 +00:00 committed by Kai Tietz
parent 7f957ac94c
commit d996ef705a
2 changed files with 6 additions and 1 deletions

@ -1,3 +1,8 @@
2011-01-04 Kai Tietz <kai.tietz@onevision.com>
PR bootstrap/47055
* libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
2011-01-04 Philipp Thomas <pth@suse.de>
* config/microblaze/microbalse.opt (mxl-float-convert): Fix

@ -283,7 +283,7 @@ gcov_exit (void)
}
}
/* Update complete filename with stripped original. */
if (!IS_DIR_SEPARATOR (*fname))
if (!IS_DIR_SEPARATOR (*fname) && !HAS_DRIVE_SPEC(fname))
{
strcpy (gi_filename_up, "/");
strcpy (gi_filename_up + 1, fname);