From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 84A8D3858C2B; Sat, 15 Apr 2023 09:30:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 84A8D3858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681551035; bh=PMs16KDE9eJ1aYSSk19Njp/spVEy9yNOixjg7Ez3T8g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w4LnQCOvfsSjhA3+sJ4es814oMUYT/tfx9U/MNo1aoZCtu2BBRy5S4Tx1SZp8Zpik oIPuMmp3JoM22wGcivnTyNxJPfEFJmVBOAWmB64UkllFCs/XzPPYJ+wc5bB0RsmAIU 1p2M8tKcrDdwVA2bhNXgfAMowJQm6UxSNXV0kob0= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvMTA5NTIxXSBbMTEvMTIvMTMgUmVncmVzc2lvbl0g?= =?UTF-8?B?Q2hlY2tpbmcgSUNFIHdpdGggY2Fub25pY2FsIHR5cGVzIGRpZmZlciBmb3Ig?= =?UTF-8?B?aWRlbnRpY2FsIHR5cGVzIOKAmFVCWVRFIFs3XeKAmSB7YWthIOKAmHVuc2ln?= =?UTF-8?B?bmVkIGNoYXIgWzdd4oCZfSBhbmQg4oCYdW5zaWduZWQgY2hhciBbN13igJk=?= Date: Sat, 15 Apr 2023 09:30:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 11.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_fail cf_known_to_work target_milestone everconfirmed bug_status keywords short_desc cf_reconfirmed_on 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=3D109521 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|11.3.1, 12.2.1, 13.0 |11.1.0 Known to work|10.4.1 |10.4.0 Target Milestone|--- |11.4 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |ice-checking, | |ice-on-valid-code, | |needs-bisection Summary|[11/12/13 regression] |[11/12/13 Regression] |Checking ICE with canonical |Checking ICE with canonical |types differ for identical |types differ for identical |types =E2=80=98UBYTE [7]=E2=80=99 {aka |types =E2= =80=98UBYTE [7]=E2=80=99 {aka |=E2=80=98unsigned char [7]=E2=80=99} and |=E2=80=98u= nsigned char [7]=E2=80=99} and |=E2=80=98unsigned char [7]=E2=80=99 |=E2=80=98u= nsigned char [7]=E2=80=99 Last reconfirmed| |2023-04-15 --- Comment #1 from Andrew Pinski --- Reduced: ``` struct vector { vector& operator=3D(vector&& __x) { return *this; } }; struct tree_node { vector childs; unsigned char pad[7]; tree_node(){} }; tree_node mcts_root; void find_Horner_MCTS_expand_tree () { mcts_root =3D tree_node(); } ``` Compile at -O2 -Wall is enough to reproduce the failure. Note using unsigned short or unsigned int instead of unsigned char allows i= t to work.=