This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/80933] redundant bzero/bcopy calls not eliminated
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 01 Jun 2017 12:49:20 +0000
- Subject: [Bug tree-optimization/80933] redundant bzero/bcopy calls not eliminated
- Auto-submitted: auto-generated
- References: <bug-80933-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80933
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
No we don't - we expand it as it were memset. But yes, we should canonicalize
it so as well (the call to bzero is shorter with -Os, but I guess that doesn't
really matter).