https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874
Richard Biener changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874
--- Comment #10 from Jakub Jelinek ---
Author: jakub
Date: Tue Jul 19 17:42:26 2016
New Revision: 238487
URL: https://gcc.gnu.org/viewcvs?rev=238487&root=gcc&view=rev
Log:
PR middle-end/71874
* builtins.c (fold_builtin_memory_op)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874
--- Comment #9 from Jakub Jelinek ---
Author: jakub
Date: Tue Jul 19 17:39:26 2016
New Revision: 238486
URL: https://gcc.gnu.org/viewcvs?rev=238486&root=gcc&view=rev
Log:
PR middle-end/71874
* gimple-fold.c (fold_builtin_memory_o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874
--- Comment #8 from Jakub Jelinek ---
Author: jakub
Date: Tue Jul 19 17:33:58 2016
New Revision: 238485
URL: https://gcc.gnu.org/viewcvs?rev=238485&root=gcc&view=rev
Log:
PR middle-end/71874
* gimple-fold.c (fold_builtin_memory_o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874
--- Comment #7 from Jakub Jelinek ---
Author: jakub
Date: Tue Jul 19 17:30:05 2016
New Revision: 238484
URL: https://gcc.gnu.org/viewcvs?rev=238484&root=gcc&view=rev
Log:
PR middle-end/71874
* gimple-fold.c (fold_builtin_memory_o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874
--- Comment #6 from Jakub Jelinek ---
Created attachment 38929
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38929&action=edit
gcc49-pr71874-2.patch
Another patch, using get_addr_base_and_unit_offset. This one optimizes
__builtin_memmove
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874
--- Comment #5 from Jakub Jelinek ---
Created attachment 38928
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38928&action=edit
gcc49-pr71874-1.patch
One possible untested patch.