PR gcov-profile/44728
* gcov.c (create_file_names): When stripping extension only look
at base name.
From-SVN: r192425
+2012-10-13 Andreas Schwab <schwab@linux-m68k.org>
+
+ PR gcov-profile/44728
+ * gcov.c (create_file_names): When stripping extension only look
+ at base name.
+
2012-10-13 Jan Hubicka <jh@suse.cz>
* loop-iv.c (determine_max_iter): Fix handling of AND.
}
/* Remove the extension. */
- cptr = strrchr (name, '.');
+ cptr = strrchr (CONST_CAST (char *, lbasename (name)), '.');
if (cptr)
*cptr = 0;