https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98598
Hongtao.liu <crazylht at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crazylht at gmail dot com --- Comment #9 from Hongtao.liu <crazylht at gmail dot com> --- It looks like a SOA/AOC opt opportunity which is discussed in https://gcc.gnu.org/wiki/cauldron2015?action=AttachFile&do=view&target=Olga+Golovanevsky_+Memory+Layout+Optimizations+of+Structures+and+Objects.pdf And i remember there's someone working on enabling SOA/AOS opt in GCC.