From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4406F385840C; Tue, 12 Mar 2024 17:35:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4406F385840C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710264907; bh=V5Wqoxs+F5Z6x8qF+xc9y/igHxxgRkTxRlDXJwLQH94=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YiRn3u6UOrwVS53PhKajzA0lVfO53yflXHt74QV+syF+x8z4CRtq0AWFyIGHGVqC6 W6ZxHY8+xkIFlY78UNRp8MkIvJpHvynSTiF639wEo1y2MepaHT+nWcAyhtnLCCnvjW 9EBeQpJLudExbroK8NwQGy0ntI4zTk71mBPNQK9M= From: "thiago.bauermann at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99829] MVE: ICE in lra_assign at -O3 Date: Tue, 12 Mar 2024 17:35:05 +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: thiago.bauermann at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D99829 --- Comment #6 from Thiago Jung Bauermann --- Created attachment 57683 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57683&action=3Dedit Preprocessed source file. I was able to reproduce the ICE on my x86_64 laptop with the following commands. There's no timeout problem involved. I'm attaching the Preprocessed source file. $ mkdir -p ~/.cache/builds/combined-tree-src $ mkdir -p ~/.cache/builds/combined-tree-arm-eabi $ cd ~/src/newlib-cygwin && find . -print | cpio -pdlm ~/.cache/builds/combined-tree-src $ cd ~/src/binutils-gdb && find . -print | cpio -pdlmu ~/.cache/builds/combined-tree-src $ cd ~/src/gcc && find . -print | cpio -pdlmu ~/.cache/builds/combined-tree= -src $ cd ~/.cache/builds/combined-tree-arm-eabi $ ../combined-tree-src/configure \ SHELL=3D/bin/bash \ --with-gnu-as \ --with-gnu-ld \ --disable-libmudflap \ --disable-gdb \ --disable-gprof \ --disable-gprofng \ --enable-lto \ --enable-shared \ --without-included-gettext \ --enable-nls \ --with-system-zlib \ --disable-sjlj-exceptions \ --enable-gnu-unique-object \ --enable-linker-build-id \ --disable-libstdcxx-pch \ --enable-c99 \ --enable-clocale=3Dgnu \ --enable-libstdcxx-debug \ --enable-long-long \ --with-cloog=3Dno \ --with-ppl=3Dno \ --with-isl=3Dno \ --enable-threads=3Dno \ --disable-multiarch \ --disable-multilib \ --with-mode=3Dthumb \ --with-arch=3Darmv8.1-m.main+mve.fp+fp.dp \ --with-float=3Dhard \ --with-sysroot=3D/tmp/install/arm-eabi \ --with-headers=3Dyes \ --with-native-system-header-dir=3D/include \ --with-newlib \ --enable-checking=3Dyes \ --disable-bootstrap \ --enable-languages=3Dc,c++,lto \ --prefix=3D/tmp/install \ --build=3Dx86_64-pc-linux-gnu \ --host=3Dx86_64-pc-linux-gnu \ --target=3Darm-eabi $ make \ SHELL=3D/bin/bash \ -w \ -j 8 \ LDFLAGS_FOR_TARGET=3D" --specs=3Drdimon.specs" \ CFLAGS_FOR_BUILD=3D"-pipe -g -O2" \ CXXFLAGS_FOR_BUILD=3D"-pipe -g -O2" \ LDFLAGS_FOR_BUILD=3D"-static-libgcc" \ MAKEINFOFLAGS=3D--force $ /home/bauermann/.cache/builds/combined-tree-arm-eabi/gcc/testsuite/g++/../.= ./xg++ \ =20=20=20 -B/home/bauermann/.cache/builds/combined-tree-arm-eabi/gcc/testsuite/g++/..= /../ \ =20=20=20 /home/bauermann/.cache/builds/combined-tree-src/gcc/testsuite/c-c++-common/= torture/vshuf-v16qi.c \ -fdiagnostics-plain-output \ -nostdinc++ \ =20=20=20 -I/home/bauermann/.cache/builds/combined-tree-arm-eabi/arm-eabi/libstdc++-v= 3/include/arm-eabi \ =20=20=20 -I/home/bauermann/.cache/builds/combined-tree-arm-eabi/arm-eabi/libstdc++-v= 3/include \ -I/home/bauermann/.cache/builds/combined-tree-src/libstdc++-v3/libsupc+= + \ =20=20=20 -I/home/bauermann/.cache/builds/combined-tree-src/libstdc++-v3/include/back= ward \ =20=20=20 -I/home/bauermann/.cache/builds/combined-tree-src/libstdc++-v3/testsuite/ut= il \ -fmessage-length=3D0 \ -O3 \ -g \ -S \ -o vshuf-v16qi.s during RTL pass: reload In file included from /home/bauermann/.cache/builds/combined-tree-src/gcc/testsuite/c-c++-common/= torture/vshuf-v16qi.c:5: /home/bauermann/.cache/builds/combined-tree-src/gcc/testsuite/c-c++-common/= torture/vshuf-main.inc: In function =E2=80=98int main()=E2=80=99: /home/bauermann/.cache/builds/combined-tree-src/gcc/testsuite/c-c++-common/= torture/vshuf-main.inc:26:1: internal compiler error: in lra_assign, at lra-assigns.cc:1657 0x10b2b19 lra_assign(bool&) ../../combined-tree-src/gcc/lra-assigns.cc:1657 0x10acf3f lra(_IO_FILE*, int) ../../combined-tree-src/gcc/lra.cc:2493 0x10617ef do_reload ../../combined-tree-src/gcc/ira.cc:5973 0x10617ef execute ../../combined-tree-src/gcc/ira.cc:6161 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions.=