On Mon, 25 May 2015, Ondøej Bílka wrote: > You should expoit that stpcpy returns end of string so gcc should > replace > > strcpy (x,y) > return strlen (x) > > with > > return stpcpy (x,y) - x Subject to namespace issues (we could agree that __stpcpy is a stable ABI - won't become a compat symbol - so that GCC can safely generate calls to it). -- Joseph S. Myers joseph@codesourcery.com