This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71393] [6/7 Regression] Compilation hang
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Jun 2016 09:05:39 +0000
- Subject: [Bug c++/71393] [6/7 Regression] Compilation hang
- Auto-submitted: auto-generated
- References: <bug-71393-4 at http dot gcc dot gnu dot org/bugzilla/>
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.