This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50824] memset or memcpy on structure prevents SRA
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jul 2017 01:52:27 +0000
- Subject: [Bug tree-optimization/50824] memset or memcpy on structure prevents SRA
- Auto-submitted: auto-generated
- References: <bug-50824-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50824
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |egallager at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> No, I think because it counts as address-taken, not because it escapes.
>
> Do you have a testcase? Most memcpys should be folded to a plain assignment
> already, but we don't fold memset to zero to = {} I guess.
No testcase provided; closing since it's been in WAITING so long with no
response