Commit 258ef007 by Andreas Schwab Committed by Andreas Schwab

re PR gcov-profile/44728 (gcov chokes when "." is present in DIR argument to -o flag)

PR gcov-profile/44728
* gcov.c (create_file_names): When stripping extension only look
at base name.

From-SVN: r192425
parent 43ffba00
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.
......@@ -842,7 +842,7 @@ create_file_names (const char *file_name)
}
/* Remove the extension. */
cptr = strrchr (name, '.');
cptr = strrchr (CONST_CAST (char *, lbasename (name)), '.');
if (cptr)
*cptr = 0;
......
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