From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E6A9B38708E1; Wed, 16 Dec 2020 14:10:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E6A9B38708E1 From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97141] [10/11 Regression] aarch64, SVE: ICE in decompose, at rtl.h (during expand) since r10-4676-g9c437a108a Date: Wed, 16 Dec 2020 14:10:36 +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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: akrl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.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 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: Wed, 16 Dec 2020 14:10:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97141 --- Comment #2 from Alex Coplan --- Adding -fno-tree-forwprop gives us an ICE in LRA instead: $ aarch64-elf-gcc -c pr97141.c -O3 -march=3Darmv8.2-a+sve -fno-tree-forwprop during RTL pass: reload pr97141.c: In function 'g': pr97141.c:8:1: internal compiler error: maximum number of generated reload insns per insn achieved (90) 8 | } | ^ 0xc08d23 lra_constraints(bool) /home/alecop01/toolchain/src/gcc/gcc/lra-constraints.c:5061 0xbeff49 lra(_IO_FILE*) /home/alecop01/toolchain/src/gcc/gcc/lra.c:2329 0xba2af8 do_reload /home/alecop01/toolchain/src/gcc/gcc/ira.c:5802 0xba2af8 execute /home/alecop01/toolchain/src/gcc/gcc/ira.c:5988 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Originally noticed this LRA ICE with the related testcase: int a; void b() { a =3D 0; for (; a !=3D -24; a =3D (short)a - 3) { short *c; *c |=3D 0 < b; } }=