https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98082
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org Component|rtl-optimization |ipa --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Note the GIMPLE we expand from looks weird: struct GoodIterD.2094 operator+ (intD.9 D.2129, struct GoodIterD.2094 & restrict D.2130) { <bb 2> [local count: 10000]: *_2(D) = operator- (_3(D), _4(D)); [return slot optimization] [tail call] return _2(D); somehow the inlined(?) thunk has some indirection exposed and the RSO looks misplaced.