This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/16959] gdb hangs in infinite recursion
- From: "kirillkh at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 19 May 2014 12:55:15 +0000
- Subject: [Bug c++/16959] gdb hangs in infinite recursion
- Auto-submitted: auto-generated
- References: <bug-16959-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16959
--- Comment #1 from kirillkh at gmail dot com ---
Test case in case the paste expires:
struct Size
{
float width;
float height;
static const Size ZERO;
};
struct Rect
{
float x, y;
Size size;
static const Rect ZERO;
};
const Size Size::ZERO = { 0, 0 };
const Rect Rect::ZERO = { 0, 0, {0, 0} };
int main()
{
Rect x;
return x.y;
}
--
You are receiving this mail because:
You are on the CC list for the bug.