https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note in the testcase a = (struct buf) {}, b = (struct buf) {} generates significantly more efficient code than a = b = (struct buf) {} - the former is 2x memset, the latter 1x memset + 1x memcpy. So, shall we for large aggregates gimplify those differently as an optimization?