http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47055

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.12.27 10:27:32
         AssignedTo|unassigned at gcc dot       |ktietz at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> 2010-12-27 10:27:32 
UTC ---
Patch sent to ML

Index: libgcov.c
===================================================================
--- libgcov.c   (revision 168240)
+++ libgcov.c   (working copy)
@@ -283,7 +283,7 @@
              }
         }
       /* 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);

Reply via email to