http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48516
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-08 14:58:31 UTC --- Did you compile the .o files with an optimization level? If so you also need to use that optimization level at link time too.