From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9A54C395381D; Mon, 3 Jun 2024 06:09:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A54C395381D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717394972; bh=C+JkBXilknHTQEjLEWUzA+2z5/vAhZUlfI3Wr/60oms=; h=From:To:Subject:Date:From; b=kY+5l9I/+uDi6azA3WdYw5J1QWGYutSOGDGr5ZzHOYpC8S5VhzUhAB/Ls4V0dcCIo 5sZ2Nxe7aDvKGjUyqnw/jqvsuyCB+LBIBJRw3Te66GOV8rsScDz8RNNstRoPhbCp+6 3DoHGS7KmVOk0FnROl7I1/7nL7Gv0EFjaUc+zaJQ= From: "sundongya at nucleisys dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/115322] New: SPEC2006 403.gcc internal error Date: Mon, 03 Jun 2024 06:09:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 14.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sundongya at nucleisys dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D115322 Bug ID: 115322 Summary: SPEC2006 403.gcc internal error Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sundongya at nucleisys dot com Target Milestone: --- Hi, GCC version:=20 gcc version 14.1.1 20240507 (g7e8fae89f)=20=20 Build SPEC2006 cfg1:=20 # Compiler selection CC =3D riscv64-unknown-linux-gnu-gcc=20=20=20=20=20 -march=3Drv64imafdcv_zba_zbb_zbc_zbs_zvl128b -mabi=3Dlp64d -static -mrvv-vector-bits=3Dzvl -mrvv-max-lmul=3Dm1=20 CXX =3D riscv64-unknown-linux-gnu-g++=20=20=20=20=20 -march=3Drv64imafdcv_zba_zbb_zbc_zbs_zvl128b -mabi=3Dlp64d -static -mrvv-vector-bits=3Dzvl -mrvv-max-lmul=3Dm1=20 FC =3D riscv64-unknown-linux-gnu-gfortran -march=3Drv64imafdcv_zba_zbb_zbc_zbs_zvl128b -mabi=3Dlp64d -static -mrvv-vector-bits=3Dzvl -mrvv-max-lmul=3Dm1=20=20=20 # Optimization default=3Dbase=3Ddefault=3Ddefault: COPTIMIZE =3D -Ofast -flto=20 CXXOPTIMIZE =3D -Ofast -flto FOPTIMIZE =3D -Ofast -flto=20 # 32/64 bit Portability Flags - all=20=20 default=3Dbase=3Ddefault=3Ddefault: PORTABILITY =3D -Wno-error=3Dimplicit-int -Wno-error=3Dimplicit-function-declaration -Wno-error=3Ddeclaration-missing-parameter-type -Wno-error=3Dreturn-mismatch -Wno-error=3Dint-conversion -Wno-error=3Dincompatible-pointer-types -DSPEC_= CPU_LP64=20 Build SPEC2006 cfg2:=20 # Compiler selection CC =3D riscv64-unknown-linux-gnu-gcc=20=20=20=20=20 -march=3Drv64imafdcv_zba_zbb_zbc_zbs_zvl128b -mabi=3Dlp64d -static -mrvv-vector-bits=3Dzvl -mrvv-max-lmul=3Dm4=20 CXX =3D riscv64-unknown-linux-gnu-g++=20=20=20=20=20 -march=3Drv64imafdcv_zba_zbb_zbc_zbs_zvl128b -mabi=3Dlp64d -static -mrvv-vector-bits=3Dzvl -mrvv-max-lmul=3Dm4 FC =3D riscv64-unknown-linux-gnu-gfortran -march=3Drv64imafdcv_zba_zbb_zbc_zbs_zvl128b -mabi=3Dlp64d -static -mrvv-vector-bits=3Dzvl -mrvv-max-lmul=3Dm4=20=20=20 # Optimization default=3Dbase=3Ddefault=3Ddefault: COPTIMIZE =3D -Ofast -flto=20 CXXOPTIMIZE =3D -Ofast -flto FOPTIMIZE =3D -Ofast -flto=20 # 32/64 bit Portability Flags - all=20=20 default=3Dbase=3Ddefault=3Ddefault: PORTABILITY =3D -Wno-error=3Dimplicit-int -Wno-error=3Dimplicit-function-declaration -Wno-error=3Ddeclaration-missing-parameter-type -Wno-error=3Dreturn-mismatch -Wno-error=3Dint-conversion -Wno-error=3Dincompatible-pointer-types -DSPEC_= CPU_LP64=20 After successfully compiling SPEC2006 using the above configuration, the following problem will occur in 403.gcc when running the intspeed/test data set. gcc_base.riscv: internal error: 4 It is possible that you may be trying to use SPEC's version of gcc without first defining the appropriate flags. Please check the flags that are in the config files from recently-published results on your platform, and check that you are using an up-to-date compiler. If you still need help, please contact SPEC, reporting your hw/os platform, your compiler version, and your compilation flags. Contact SPEC at Similar error will occur when running the simulation in user mode in qemu. = The running command is as follows:=20=20 # qemu version=20=20 qemu-riscv64 version 8.2.93 (v9.0.0-rc3-5-g824ebb92c3)=20=20 #running command qemu-riscv64 -cpu rv64,v=3Dtrue,vext_spec=3Dv1.0,zicond=3Dtrue ./gcc_base.r= iscv cccp.in -o cccp.s=20=20 cccp.in:1679: internal error: 11 It is possible that you may be trying to use SPEC's version of gcc without first defining the appropriate flags. Please check the flags that are in the config files from recently-published results on your platform, and check that you are using an up-to-date compiler. If you still need help, please contact SPEC, reporting your hw/os platform, your compiler version, and your compilation flags. Contact SPEC at =