https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67797
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |NEW
Keywords| |missed-optimization
Last reconfirmed| |2015-12-23
Component|target |middle-end
Ever confirmed|0 |1
Summary|[ARM] Unnecessary r0 saving |builtin functions should be
|for memset call |able to know when their
| |first argument is returned
Severity|normal |enhancement
--- Comment #1 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
This isn't target specific. GCC does not currently realise that many string
functions return their first argument as a result.