http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58544
Bug ID: 58544 Summary: Segfault with profile guided optimisation Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: pharmst at gmail dot com Created attachment 30904 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30904&action=edit gdca file Running g++ on the attached .ii file with the attached gcda data file cases g++ to segfault. The full command used is: /usr/bin/g++-4.8 -Wsign-compare -Werror -Wall -Wextra -std=c++11 -g -O3 -fprofile-use -march=nocona -fPIC -c memory_map_backing_store.cc.ii -o memory_map_backing_store.cc.o The same error occurs with g++-4.7.3 in my testing.