------- Comment #4 from rguenth at gcc dot gnu dot org 2008-02-27 15:59 ------- I tested on a x86_64 host where possibly all the string operations are inlined (try -minline-all-stringops). Indeed, flatten only inlines all functions where the body is available -- a warning is possibly not wanted in that case (I use this attribute on functions calling into libm for example, where I don't expect a warning for calling tan(), but still want all available bodies inlined).
You can also use --param sra-field-structure-ratio=0 to force not using these block copies. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35393