------- Comment #4 from lakshmivaraganm at hcl dot in 2008-02-18 12:08 ------- This "Crash on exit" problem is there if we call exit(0) or call return 0. If _exit(0) is used, there is no crash. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35179