From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D51D33858C2C; Tue, 23 Nov 2021 16:22:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D51D33858C2C From: "qing.zhao at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64 Date: Tue, 23 Nov 2021 16:22:56 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: qing.zhao at oracle dot com X-Bugzilla-Status: NEW 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: 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: Tue, 23 Nov 2021 16:22:56 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103271 --- Comment #4 from Qing Zhao --- >=20 > You should be able to simply do >=20 > ../configure --target=3Driscv64-linux > make all-gcc >=20 > and use the built gcc/cc1 to debug such ICEs. >=20 Thanks. Yes, I can repeat the ICE with this gcc even though =E2=80=9Cmake i= nstall=E2=80=9D still failed with the following error: make[2]: Leaving directory '/home/opc/Work/GCC/crossbuild/libiberty' /bin/sh: line 3: cd: ./c++tools: No such file or directory make[1]: *** [Makefile:12252: install-c++tools] Error 1 make[1]: Leaving directory '/home/opc/Work/GCC/crossbuild' make: *** [Makefile:2538: install] Error 2 Anyway, I can debug this current bug with this gcc now.=