This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9
- From: "dongkyun.s at samsung dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 06 Sep 2017 01:15:12 +0000
- Subject: [Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9
- Auto-submitted: auto-generated
- References: <bug-81907-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
dongkyun.s at samsung dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #18 from dongkyun.s at samsung dot com ---
Dear Michail,
Your analysis was very helpful. I've also verified that compiler may insert
memset() call or not according by 1) DSE optimization - object size/base and
tune options 2) code generation.