From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8E6133858C00; Tue, 12 Sep 2023 08:07:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E6133858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694506071; bh=Ci4lfjlEAirjQjR2RlFBHeQLOTIEbHU7+ho7UqD1tec=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AxGefWdGv9UyhNeB7nwN3tYE4PBg5sFmMKlE4BHPJuvN24f140BeyunCP1eNPRGcA 6Vjyj/fNrwzw9GZCR4Ndk6wPZ+UquOVtrJKdW4UueJk3Ak1Az1qzFyluenPnCk+2ns sgBI+jtKj1bBw2YNIadGY7qQtX/oZvzuQX4P5/BU= From: "juzhe.zhong at rivai dot ai" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111375] RISC-V vector Fortran: SEGV ICE during get_avl_or_vl_reg (vsetvl pass) Date: Tue, 12 Sep 2023 08:07:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juzhe.zhong at rivai dot ai 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: 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=3D111375 --- Comment #3 from JuzheZhong --- (In reply to Jeremy Bennett from comment #2) > (In reply to JuzheZhong from comment #1) > > I can't reproduce the ICE in your testcase with same command. > >=20 > > ~/work/toolchain/develop/build/dev-rv64gcv_zfh-lp64d-medany-linux-spike/ > > install/bin/riscv64-unknown-linux-gnu-gfortran -w -march=3Drv64gcv -mab= i=3Dlp64d > > -c -Ofast -ftree-vectorize --param=3Driscv-autovec-preference=3Dscalabl= e bug.f90 > >=20 > >=20 > > No ICE. > >=20 > > Could you help me with that ? >=20 > Hi JuzheZhong >=20 > I built with the following components: >=20 > Repository SHA-1 hash (commit ID)=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 > ---------- ----------------------=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 > gcc 316d57da5bb9205b946afc56d78582fee874e4b5 > binutils-gdb 9a343d2bb57c4555dedad9b43907aeeda7b51dae > glibc 073edbdfabaad4786e974a451efe4b6b3f7a5a61 >=20 > Is this the same as you? I'll do a clean rebuild with the latest tool cha= in > in case this problem has been fixed. Current GCC enable scalable vectorization by default now. I think you could try again with the latest GCC.=