From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 492383858C54; Fri, 2 Sep 2022 14:08:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 492383858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662127693; bh=sokWJ4w82Pw7XIbbSCXrRYw824wE9W5aXV/kfB8y9Cc=; h=From:To:Subject:Date:From; b=Hv+TjkgZRIfVsnGpxebHHyHK4n1N3MhRsrEVUcSVD/kn+hwwjju0IZooXlSQV8HBN VykfOrHThgQO5aZVP5Jpy/CCXw0rAuuvVE0jetPuNMBkXCsYqKSKt0n89wI+iksWMW VpPjWG5tDw9OQZqXir/AEEACLCLmmr1TdaB4KnqE= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106815] New: [13 Regression] ICE: in riscv_excess_precision, at config/riscv/riscv.cc:5967 with -fexcess-precision=16 on any input Date: Fri, 02 Sep 2022 14:08:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget 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=3D106815 Bug ID: 106815 Summary: [13 Regression] ICE: in riscv_excess_precision, at config/riscv/riscv.cc:5967 with -fexcess-precision=3D16 on any input Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: riscv64-unknown-linux-gnu Compiler output (empty testcase.c): $ echo '' > testcase.c $ riscv64-unknown-linux-gnu-gcc -fexcess-precision=3D16 testcase.c : internal compiler error: in riscv_excess_precision, at config/riscv/riscv.cc:5967 0x7ada41 riscv_excess_precision /repo/gcc-trunk/gcc/config/riscv/riscv.cc:5967 0x7ada41 riscv_excess_precision /repo/gcc-trunk/gcc/config/riscv/riscv.cc:5956 0x94a206 c_ts18661_flt_eval_method /repo/gcc-trunk/gcc/c-family/c-common.cc:8939 0x98484a c_cpp_builtins(cpp_reader*) /repo/gcc-trunk/gcc/c-family/c-cppbuiltin.cc:1223 0x99fec7 c_finish_options /repo/gcc-trunk/gcc/c-family/c-opts.cc:1496 0x9a28b0 c_common_parse_file() /repo/gcc-trunk/gcc/c-family/c-opts.cc:1249 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. $ riscv64-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-riscv64/bin/riscv64-unknown-lin= ux-gnu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r13-2374-20220902172530-= gd72ca12b846-checking-yes-rtl-df-extra-riscv64/bin/../libexec/gcc/riscv64-u= nknown-linux-gnu/13.0.0/lto-wrapper Target: riscv64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --with-isa-spec=3D2.2 --with-sysroot=3D/usr/riscv64-unknown-linux-gnu --build=3Dx86_64-pc-linux-g= nu --host=3Dx86_64-pc-linux-gnu --target=3Driscv64-unknown-linux-gnu --with-ld=3D/usr/bin/riscv64-unknown-linux-gnu-ld --with-as=3D/usr/bin/riscv64-unknown-linux-gnu-as --disable-multilib --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r13-2374-20220902172530-gd72ca12b8= 46-checking-yes-rtl-df-extra-riscv64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220902 (experimental) (GCC)=