From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 16EBE3858010; Tue, 9 Jan 2024 16:17:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 16EBE3858010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704817056; bh=762QlSywDOm6inc9thr5EOJqjguntumMGuuo1DtbrNc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A/yryGonIuqTKm/6Kh7l0hCX9aDXamoDnSSUCeK/jaBRxXRezJyMsuaOecpF//+rU 1BeHkQQowuTTCVNYDQ35s7TpOiEltwne8CfecCMeBF9v2UZuQHB2FsSHjERO9xy6/B ibHmZxcNrUte7e7UO0ZTCldIjnCNH4qJGcFj5VPI= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/112477] [13/14 Regression] Assignment of value-initialized iterators differs from value-initialization Date: Tue, 09 Jan 2024 16:17:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc cf_known_to_fail cf_known_to_work cc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112477 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Assignment of |[13/14 Regression] |value-initialized iterators |Assignment of |differs from |value-initialized iterators |value-initialization |differs from | |value-initialization Known to fail| |13.2.0 Known to work| |12.3.0 CC| |fdumont at gcc dot gnu.org Target Milestone|--- |13.3 --- Comment #6 from Jonathan Wakely --- You didn't mention this is a recent regression, I assumed it was a pre-exis= ting problem. It seems that the error for Guiseppe's original testcase is also a recent regression, almost certainly the same bug. That seems to be an unintended consequence of that change. As far as I can = see, it was supposed to only affect detached iterators, but your example doesn't have any. Fran=C3=A7ois, please take a look.=