[Bug tree-optimization/92486] Wrong optimization: padding in structs is not copied even with memcpy
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Thu Nov 14 16:17:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92486
--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
On November 14, 2019 5:11:55 PM GMT+01:00, "jamborm at gcc dot gnu.org"
<gcc-bugzilla@gcc.gnu.org> wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92486
>
>--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
>While I don't share this preference about assignments, SRA only
>ignores padding when doing "total scalarization" aka the poor man's
>aggregate copy propagation because in that mode it would have to
>invent small accesses to copy padding and I'm sure some people would
>be unhappy about those.
Doing total scalarization as block copy in naturally aligned pieces would be
another option, no?
More information about the Gcc-bugs
mailing list