https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112824
--- Comment #11 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- > > Add --param sra-max-scalarization-size-Ospeed=2048 will eliminate those > spills > > So for sra we can consider using MOVE_MAX * move_ratio as the size limit for > Ospeed which represents real backend instruction count. Please create a patch to reset the param with MAX(MOVE_MAX * move_ratio, sra-max-scalarization-size-Ospeed) if the param is unset. @hongyu