------- Comment #3 from sathishpy at gmail dot com 2009-10-09 11:22 ------- I tried the same program with -m32 and it works fine. I have also tried it for 10 times bigger time file (100000 string constants and 10000 functions) without using -mminimal-toc, so it looks like some issue with gcc only when using -m64.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41644