From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 03DA83857341; Wed, 3 May 2023 16:53:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03DA83857341 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683132784; bh=mWhVAurShI0Rq/YY2mSKzPITjtvV0gQ6+n9zlHMrge0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=byGYkY4CLmCpUzDf9JSk7z4v0gsgdyJLqGlS9to9+jUzpuS0J/ncIp7nWdtgjubi8 NCFU6A6Ja1DIxOLYRfqrjuHjHaBtMKeDcANda9IkMUlwBO8wmWEaa+R+4tUHMPBtYv 3Z8+5tCIiRhcwVoKrUOyw0+6/3eO67a+X5HPUAN0= From: "simon.marchi at polymtl dot ca" To: gdb-prs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBidWlsZC8zMDQxM10gW2dkYi9idWlsZF0gZXJyb3I6IHN0?= =?UTF-8?B?b3JpbmcgdGhlIGFkZHJlc3Mgb2YgbG9jYWwgdmFyaWFibGUg4oCYPGFub255?= =?UTF-8?B?bW91cz7igJkgaW4g4oCYZnJhbWVfaW5mb19wdHI6OmZyYW1lX2xpc3QuaW50?= =?UTF-8?B?cnVzaXZlX2xpc3Q8ZnJhbWVfaW5mb19wdHI+OjptX2JhY2vigJkgWy1XZXJy?= =?UTF-8?B?b3I9ZGFuZ2xpbmctcG9pbnRlcj1d?= Date: Wed, 03 May 2023 16:53:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon.marchi at polymtl dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30413 --- Comment #10 from Simon Marchi --- I don't think that intrusive_list is trivially constructible, since we assi= gn the fields like this: T *m_front =3D nullptr; T *m_back =3D nullptr; I verified using std::is_trivially_constructible. I suppose that things st= ill work because the object is put in .bss, so the fields are cleared from the start. Still, I'd put the declarations in the right order, just to be extra safe. --=20 You are receiving this mail because: You are on the CC list for the bug.=