From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7D0A5385C6FB; Mon, 4 Dec 2023 08:01:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D0A5385C6FB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701676910; bh=KBpIMFqPAIP9oqnukr0deNVgBT3fEObDuE5L4C+9eqc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ntu10cFhgUJ2TnYxHUxTUuufAlE2dOllROJCnlO0jOvNUMC0oqZ9fm/+UbsyyJ7z1 lJyy0tPCVBUrEvSchl6wRK80Wevyi+PyzJOPBlWEGobJz4lLZlDlCcxby1TGVyZpfO aVF04u8ghWVex5BIH+sYKSVdFTHdLoB/zeGoZNqc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112816] [11/12/13/14 Regression] ICE unrecognizable_insn with __builtin_signbit and returning struct with int[4] Date: Mon, 04 Dec 2023 08:01:48 +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 #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:994d6dc64435d6b7c50accca9941ee7decd92a22 commit r14-6108-g994d6dc64435d6b7c50accca9941ee7decd92a22 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.=