[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-12-15 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 Wilco changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-12-07 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #9 from Wil

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-11-20 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 --- Comment #8 from Steve Ellcey --- Author: sje Date: Tue Nov 21 00:18:14 2017 New Revision: 254977 URL: https://gcc.gnu.org/viewcvs?rev=254977&root=gcc&view=rev Log: 2017-11-20 Steve Ellcey PR target/81356 * gfortran.dg/pr4

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-11-17 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 --- Comment #7 from Steve Ellcey --- Author: sje Date: Fri Nov 17 22:44:32 2017 New Revision: 254901 URL: https://gcc.gnu.org/viewcvs?rev=254901&root=gcc&view=rev Log: 2017-11-17 Steve Ellcey PR target/81356 * config/aarch64/

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-10-03 Thread qing.zhao at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 --- Comment #6 from Qing Zhao --- just found that a similar fix have been submitted 2 weeks ago to gcc_patches: https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg173652.html

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-10-03 Thread qing.zhao at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 --- Comment #5 from Qing Zhao --- the following code in config/aarch64/aarch64.c cause such behavior: 14143 static bool 14144 aarch64_use_by_pieces_infrastructure_p (unsigned HOST_WIDE_INT size, 14145 unsi

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-10-03 Thread qing.zhao at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 Qing Zhao changed: What|Removed |Added CC||qing.zhao at oracle dot com --- Comment #4 f

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 --- Comment #3 from Richard Biener --- A GIMPLE level optimization to *a = '\0'; would still be ok but I agree with Andrew.

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-07-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |target --- Comment #2 from Andrew Pinski