https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115354
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Large -Os code size |[14/15 Regression] Large |increase related to |-Os code size increase |-ftree-sra |related to -ftree-sra Target Milestone|--- |14.2 CC| |jamborm at gcc dot gnu.org Keywords| |missed-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The optimization is performed optimistically anticipating followup optimizations to make up for the immediate caused bloat (that's what I understand). I'm not sure if we make any attempt of assessing the possibility of that to happen but certainly this transform could be disabled when optimizing for size or for cold calls?