https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86536
Bug ID: 86536 Summary: Function "returned NAN %" for a simple program which forks Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: mcastelluccio at mozilla dot com CC: marxin at gcc dot gnu.org Target Milestone: --- -: 0:Source:main.c -: 0:Graph:main.gcno -: 0:Data:main.gcda -: 0:Runs:1 -: 0:Programs:1 -: 1:#include <unistd.h> -: 2: function main called 1 returned NAN % blocks executed 100% 1: 3:int main(void) { 1: 4: int j = 22; -: 5: 1: 6: fork(); call 0 returned 2 -: 7: 2: 8: int i = 7; -: 9: 2: 10: return 0; -: 11:}