[Bug tree-optimization/81356] __builtin_strcpy is not good for copying an empty string on aarch64
rearnsha at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 8 11:13:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-07-08
Component|target |tree-optimization
Ever confirmed|0 |1
--- Comment #1 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Confirmed, but this should be done either as a tree optimization or in the
builtin expansion. The back-end mem copying expansions can't know this is a
null-terminated string.
More information about the Gcc-bugs
mailing list