------- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-07 04:05 ------- (In reply to comment #2) > > Also, are you saying that the fix for PR23372 also brings us back to avoiding > direct calls to memcpy?
No just the duplicated memcpy. not inlining memcpy is most likely not a bug, just tunning differences. If you want it inlined you should use -minline-all-stringops which just inlines always most of standard C string functions including memcpy but you should do timings before you do that because memcpy can be optimized for your target more than what gets inlined. For an example it could use SSE registers to do the copy if they exist. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29375