From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 605683858C2D; Tue, 18 Apr 2023 00:09:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 605683858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681776579; bh=f9+nrNd4VLnmZpAdweqTiR/HvZNEQLGA3/InuIyt5W4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tTNWWag6g2K69POhyLp9+/Vqly/LmCH8I67edQOWukOLK5FQd9jcQf0qnl63dXgye nrY0FyL6e7sDTFUqEALLG09ABFIliFuS6VavT8MSHsUmXd7l4hnhuo7tOrl34ajdlv oqyWB0nl1EP7tj+N/QRDfEvkspDh5OZaecWSP5Lc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108589] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 with -mtune=ampere1a -fno-split-wide-types Date: Tue, 18 Apr 2023 00:09:39 +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.0 X-Bugzilla-Keywords: ice-checking, 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: ptomsich 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=3D108589 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Philipp Tomsich : https://gcc.gnu.org/g:b54061569221e678e99e9e49dc0ac79228d9c407 commit r11-10634-gb54061569221e678e99e9e49dc0ac79228d9c407 Author: Philipp Tomsich Date: Mon Jan 30 23:40:26 2023 +0100 PR target/108589 - Check REG_P for AARCH64_FUSE_ADDSUB_2REG_CONST1 This adds a check for REG_P on SET_DEST for the new idiom recognizer for AARCH64_FUSE_ADDSUB_2REG_CONST1. The reported ICE is only observable with checking=3Drtl. Bootstrapped/regtested aarch64-linux, committed. PR target/108589 gcc/ChangeLog: * config/aarch64/aarch64.c (aarch_macro_fusion_pair_p): Check REG_P on SET_DEST. gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr108589.c: New test. (cherry picked from commit a39c6ec97906766ad65d15d4856fd41121ee7a45)=