From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1AE573851ABE; Fri, 18 Aug 2023 12:12:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1AE573851ABE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692360727; bh=b5af5Glet8HEOUjW3AQCOf4LD+EUiSogisM60FHd0sg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ODCowKb72ISCYTQUFfPkfeYSH4hyCjgMnZ1tM6g/I4N69T3wxIGuXd9RmRw/1MA4s MpCBbtJhwEJY8oCSGUaPCer530D8lJTbKGPb6FFaO+pMilAMUfyICdLgrgI6Fg/dvf zD/aNDv4o50r9HtSKFksg8unaPCNEw9NnKSkNrng= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111010] [13/14 regression] error: unable to find a register to spill compiling GCDAProfiling.c since r13-5092-g4e0b504f26f78f Date: Fri, 18 Aug 2023 12:12:06 +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: 13.2.1 X-Bugzilla-Keywords: ice-on-valid-code, missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 13.3 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=3D111010 --- Comment #7 from Richard Biener --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index f3a3305ac4f..d38b9d764d8 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -11511,7 +11511,7 @@ }) (define_insn_and_split "*concat3_3" - [(set (match_operand: 0 "nonimmediate_operand" "=3Dro,r,r,&r") + [(set (match_operand: 0 "nonimmediate_operand" "=3Dro,r,r,!&r") (any_or_plus: (ashift: (zero_extend: fixes the issue for me, this disparages the &r,m,m alternative since that makes any reloading difficult(?) and the early-clobber output makes register pressure even harder to deal with.=