On 4 January 2011 14:12, Brian D. McGrew wrote: > > We're using CentOS 5.3_x86-64 and gcc-4.1.2-20080704 and about 90% of our > projects are compiled with g++ using -g -O2. Functionally speaking, is > there any reason I should upgrade gcc --- other than just to have the latest > version? Ian and Andrew have answered the malloc part, in terms of upgrading gcc, the changes in each release are listed at: http://gcc.gnu.org/gcc-4.2/changes.html http://gcc.gnu.org/gcc-4.3/changes.html http://gcc.gnu.org/gcc-4.4/changes.html http://gcc.gnu.org/gcc-4.5/changes.html Some of those changes (such as support for newer generations of x86 processors) might already be present in Red Hat's version of GCC 4.1.2 which CentOS uses. Whether the new features are a reason to upgrade is only something you and/or your software engineers can answer.