https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> --- Reduced C++ code is class a { public: int *b(); }; struct c { int d; a e; } f; void fn1(register c *g) { register int *h; do (h) = g->e.b() + (g)->d; while (&f); }