https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71393
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-06-03 CC| |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Simplified testcase: struct B { B &operator << (long); }; struct A { A (); long a, b, c, d, e, f; }; A::A () { B q; q << 0 << a << 0 << b << 0 << (b / a) << 0 << c << 0 << (c / a) << 0 << d << 0 << (d / a) << 0 << e << 0 << (e / a) << 0 << f << 0 << (f / a) << 0; } Seems it hangs this way only when in constructor or destructor, when it is in a function or some method, it doesn't hang.