Re http://gcc.gnu.org/ml/gcc-bugs/2011-07/msg02349.html
This mailing list is for automatically generated emails from Bugzilla, mails sent to it directly may get missed or ignored. You should send questions about using GCC to the gcc-help list. Bugs should be reported to Bugzilla, not by email. Your question would have been most appropriate on the gcc-help list. Your code is almost certainly wrong, failing to include some required headers. With gcc 4.1 those headers were indirectly included by some standard library header, but that has been fixed in later versions. You need to fix your code by including the right headers, maybe just <stdlib.h>