This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/67618] malloc+memset optimization breaks code
- From: "roc at ocallahan dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Jun 2016 06:29:10 +0000
- Subject: [Bug tree-optimization/67618] malloc+memset optimization breaks code
- Auto-submitted: auto-generated
- References: <bug-67618-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67618
roc at ocallahan dot org <roc at ocallahan dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roc at ocallahan dot org
--- Comment #13 from roc at ocallahan dot org <roc at ocallahan dot org> ---
Here's one case where this optimization really is invalid: when you're
compiling an implementation of calloc() :-(.