Value profiling on the length parameters of memset, memcpy, memmove, strncmp, strncpy, memcmp, etc can be guide the inline expansion strategy for those calls. As an example, very large sized memcpy may prefer non-temporal memory move etc.
-- Summary: value profiling support for memOps such as memcpy Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: xinliangli at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35543