From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D1947385E021; Tue, 5 Dec 2023 16:32:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1947385E021 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701793976; bh=x63Fv/686q145j/5NjyILjnQTlqerPWr7s1t21qjGgI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WGhv9t+PSW9DqFBbCKqepIPTYysir040ur2fNXaK0tKtApogWhvzsxr0mD+J8l7+z 42MhwntdUGeAbtEVZSWQvqhQo+Jj6DlzL4BcKKsaPMuUOt36sdGQ5xNqJvJF3zXfbk 0f4ZjlK2QUrRlk04s43yH+JrWUr689MuPLaNu/2Q= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112816] [11/12/13 Regression] ICE unrecognizable_insn with __builtin_signbit and returning struct with int[4] Date: Tue, 05 Dec 2023 16:32:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.4.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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=3D112816 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:05d8dec0f9f9660b1f437d52252852a2f86d3ac8 commit r13-8125-g05d8dec0f9f9660b1f437d52252852a2f86d3ac8 Author: Jakub Jelinek Date: Mon Dec 4 09:00:18 2023 +0100 i386: Fix up signbit2 expander [PR112816] The following testcase ICEs, because the signbit2 expander uses an explicit SUBREG in the pattern around match_operand with register_opera= nd predicate. If we are unlucky enough that expansion tries to expand it with some SUBREG as operands[1], we have two nested SUBREGs in the IL, which is not valid and causes ICE later. 2023-12-04 Jakub Jelinek PR target/112816 * config/i386/sse.md (signbit2): Force operands[1] into a REG. * gcc.target/i386/sse2-pr112816.c: New test. (cherry picked from commit 994d6dc64435d6b7c50accca9941ee7decd92a22)=