http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57234
Bug ID: 57234 Summary: gcov 4.7.3 segfaults when reading Clang's .gc* files. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: magnus.reftel at gmail dot com Created attachment 30087 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30087&action=edit hello world and its .gc* files which makes gcov segfault Gcov segfaults when reading .gc* files produced by Clang from trunk. Whether Clang generates correct files or not is a separate issue (I'm filing a bug on Clang for that). The issue here is that gcov segfaults at all instead of handling the error cleanly. I'm attaching a tar.gz with a hello world program and .gcno and .gcda files that make gcov 4.7.3 segfault when run as "gcov hello.c".