[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2020-08-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 --- Comment #12 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:d367f5fcb579d21c3093cf5c464f5787fe584a1d commit r11-2743-gd367f5fcb579d21c3093cf5c464f5787fe584a1d Author: Martin Sebor Date: Tue

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2020-08-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 --- Comment #11 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:bb04901d14f7749eb949092fd3dfcb6ca1958701 commit r11-2742-gbb04901d14f7749eb949092fd3dfcb6ca1958701 Author: Martin Sebor Date: Tue

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2020-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 Martin Sebor changed: What|Removed |Added Known to work||11.0 Target Milestone|---

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2020-08-14 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 --- Comment #9 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:866626efd749ed3e2b7014e88e4340b5a4c73560 commit r11-2709-g866626efd749ed3e2b7014e88e4340b5a4c73560 Author: Martin Sebor Date: Fri

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2018-08-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 --- Comment #8 from Martin Sebor --- With r263561 brace-enclosed initializers for constant character arrays are handled by transforming them into STRING_CSTs. It should be possible to also handle wide character types (wchar_t, char16_t, char32_t

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2018-08-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org ---

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2017-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2016-11-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 --- Comment #5 from Martin Liška --- (In reply to Martin Sebor from comment #4) > Created attachment 40008 [details] > Very lightly tested patch. > > The attached (only superficially tested) patch changes fold_bultin_memcmp to > fold the compari

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2016-11-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 --- Comment #4 from Martin Sebor --- Created attachment 40008 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40008&action=edit Very lightly tested patch. The attached (only superficially tested) patch changes fold_bultin_memcmp to fold the

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2016-11-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 --- Comment #3 from Martin Liška --- 'f0' function is optimized out as of r242000

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2016-11-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Assig

[Bug tree-optimization/78257] missing memcmp optimization with constant arrays

2016-11-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78257 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|