http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58919
Bug ID: 58919 Summary: run with thread error, until i set -fprofile-arcs flag Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sinsaychen at gmail dot com is that a bug? and it's nothing wrong with g++4.7 failure complie command: g++ -pthread -std=c++0x -g test.cpp ok command: g++ -pthread -std=c++0x -g -fprofile-arcs test.cpp