This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Jun 2018 14:04:08 +0000
- Subject: [Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use
- Auto-submitted: auto-generated
- References: <bug-85759-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759
--- Comment #22 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Jun 29 14:03:36 2018
New Revision: 262251
URL: https://gcc.gnu.org/viewcvs?rev=262251&root=gcc&view=rev
Log:
When using -fprofile-generate=/some/path mangle absolute path of file (PR
lto/85759).
2018-06-29 Martin Liska <mliska@suse.cz>
PR lto/85759
* coverage.c (coverage_init): Mangle full path name.
* doc/invoke.texi: Document the change.
* gcov-io.c (mangle_path): New.
* gcov-io.h (mangle_path): Likewise.
* gcov.c (mangle_name): Use mangle_path for path mangling.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/coverage.c
trunk/gcc/doc/invoke.texi
trunk/gcc/gcov-io.c
trunk/gcc/gcov-io.h
trunk/gcc/gcov.c