From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B0B1A3858CD1; Fri, 3 Nov 2023 10:18:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0B1A3858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699006718; bh=qilWNfNQLw/bqDLIR5vtVW2jUrgn5HaYHzMCVOEHEXw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JWMVos65aArjSVv2HuDC6jYmZNGLl2vWS/zmRE2EeHSHrbpuR6MQV1bAfoC37M1la ugdht2D4ascj5mIIBO5I5dLJMZ2HGlqpdbC8dIwk+9JbJIhJpA4k1dv9Y94YJzyne9 y5PKS5f+O2uMxAhfddCCrSUW63vv37S+/CWffCP0= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112366] ICE in vectorizable_live_operation, at tree-vect-loop.cc:10798 Date: Fri, 03 Nov 2023 10:18:37 +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-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112366 --- Comment #2 from Richard Biener --- (gdb) p code $1 =3D BIT_XOR_EXPR OK, that's somewhat unexpected ;) Reduced testcase: int sm3_compress___trans_tmp_1, sm3_compress_x_6; extern int sm3_compress_x[]; void sm3_compress() { for (int i =3D 0; i < 12; ++i) { int tt2 =3D sm3_compress_x[4] ^ sm3_compress_x[5] ^ sm3_compress_x_6; sm3_compress___trans_tmp_1 =3D sm3_compress_x[5]; sm3_compress_x_6 =3D sm3_compress___trans_tmp_1; sm3_compress_x[5] =3D sm3_compress_x[4]; long rd; __asm__("" : "=3Dr"(rd) : ""(tt2)); sm3_compress_x[4] =3D rd; } }=