https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111123
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-08-24 Status|UNCONFIRMED |ASSIGNED Keywords| |diagnostic Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- There's a change in inlining when z is removed. We then have the separate CTOR void Camera::Camera (struct Camera * const this) { ... <bb 2> [local count: 1073741824]: _2 = *this_6(D).border; _3 = 1.0e+0 - _2; _68 = {_2, _2, _3, _2}; and fno CLOBBER of *this_6(D) at its start at the time we do late uninit diagnostics. That's because we remove those indirect clobbers too early.