From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C55F03861925; Fri, 7 Aug 2020 09:40:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C55F03861925 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596793224; bh=lVQ4fYY54diqMjesTWrSS7O4jDMxJYXd1C3sE1jc+gg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZdPeY6hH6x62Hqt9AcnS5T7hQ9Db2+rKLNLK063jasVZ64w9iKK94bFFC4PETd8cx Y1plQuCW9XUQpqWzNfhKSfko75ksg7SLsdy52FuylWwM5fNE8Idkian4cdZ12KOJVM MBIi3Gj7WXChfTJx/kQwR0Q5+99xh2MQScDgQ4r0= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/94605] [8/9 Regression] ICE in early-remat.c:process_block with multi-output asms Date: Fri, 07 Aug 2020 09:40:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: 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: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 09:40:24 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94605 --- Comment #3 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:cdb0af30f73923ec4355ecd5c294b7a026bb4aa4 commit r9-8790-gcdb0af30f73923ec4355ecd5c294b7a026bb4aa4 Author: Richard Sandiford Date: Fri Aug 7 10:39:39 2020 +0100 early-remat: Handle sets of multiple candidate regs [PR94605] early-remat.c:process_block wasn't handling insns that set multiple candidate registers, which led to an assertion failure at the end of the main loop. Instructions that set two pseudos aren't rematerialisation candidates in themselves, but we still need to track them if another instruction that sets the same register is a rematerialisation candidate. gcc/ PR rtl-optimization/94605 * early-remat.c (early_remat::process_block): Handle insns that set multiple candidate registers. gcc/testsuite/ PR rtl-optimization/94605 * gcc.target/aarch64/sve/pr94605.c: New test. (cherry picked from commit 3c3f12e2a7625c9a2f5d74a47dbacb2fd1ae5643)=