http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53726
--- Comment #15 from rguenther at suse dot de <rguenther at suse dot de> 2012-06-20 14:53:58 UTC --- On Wed, 20 Jun 2012, hjl.tools at gmail dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53726 > > --- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-20 14:43:11 > UTC --- > (In reply to comment #11) > > (In reply to comment #9) > > > (In reply to comment #3) > > > > I added executable testcase. Command line to compile > > > > > > > > gcc -g -ansi -O3 -ffast-math -msse2 -mfpmath=sse -m32 -static > > > > -march=corei7 > > > > -mtune=corei7 test.c m.c > > > > > > > > > > Please compare results without -static. > > > > Same results. memcpy ends up here: > > > > > > this seems to be sysdeps/i386/i586/memcpy.S > > Your libc.so doesn't support IFUNC optimization. Quite possible (for whatever reason).