From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CC663388687B; Mon, 13 Nov 2023 10:38:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC663388687B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699871929; bh=9MMd0ThRveTe83ZxFIzry6j1+A9vi4OL+Trpc5MD1zM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QTfFyQQ18+uD4VYfQx/p/qE0zlDR/wT6J9dt5IjXFhEgQbqk3stc3kroUkKMgu5+n cFTfyXn+zaS+97ob1/15OCYWZGD06zBAy780qiLzlQPdTZS37WE1m+Z+8FbBzgRhp2 zO7QxkmwE1C3kfME0P46w1g7ISs/rrT+9chsY3ec= From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112493] [11/12/13/14 Regression] ICE in verify_sra_access_forest with scalar_storage_order Date: Mon, 13 Nov 2023 10:38:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112493 --- Comment #2 from Eric Botcazou --- Of course the compiler should not ICE, but the code will not work as intend= ed in any case, see the warning issued by the compiler about the unsupported = type punning. If you want to byte-swap data, use the __builtin_bswapnn function= s.=