https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111657
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'd say it is a user error to invoke memcpy/memset etc. with pointers to non-default address spaces, and for aggregate copies the middle-end should ensure that the copying is not done using library calls; is that the case and the problem was just that optab expansion was allowed for the structure copies and the backend decided to use libcall in that case?