From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 220ED3858CDA; Wed, 28 Feb 2024 20:44:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 220ED3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709153052; bh=Xfx0cLscyb0SbuxXsiNOav96JrLIQFsazqzo9Gmi3Pg=; h=From:To:Subject:Date:From; b=YTBMsFqEqDmkmhgdZ7yWIDg6PiP2Y14X365sktvtoX78LlZEdnBU0hwyc4HMyj0zO WzVAO20ScMtiP+ncH1ayGVx1XBK6FVifmipxBPyZml/d8XTtpIR0ucqvgvbU9SpcVP OSqYO4IqAcxAuWB9g2fu8qnv+GU7DkO9Bm48GE9U= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/114159] New: [13/14 Regression] ICE: in call_info, at analyzer/call-info.cc:143 with -fanalyzer -fanalyzer-call-summaries --param=analyzer-max-svalue-depth=0 Date: Wed, 28 Feb 2024 20:44:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 14.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: dmalcolm 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 attachments.created 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=3D114159 Bug ID: 114159 Summary: [13/14 Regression] ICE: in call_info, at analyzer/call-info.cc:143 with -fanalyzer -fanalyzer-call-summaries --param=3Danalyzer-max-svalue-depth=3D0 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 57572 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57572&action=3Dedit auto-reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -fanalyzer -fanalyzer-call-summaries --param=3Danalyzer-max-svalue-depth=3D0 pr36690-2.i during IPA pass: analyzer pr36690-2.i: In function 'main': pr36690-2.i:13:3: internal compiler error: in call_info, at analyzer/call-info.cc:143 13 | foo(); | ^~~~~ 0xdc029b ana::call_info::call_info(ana::call_details const&) /repo/gcc-trunk/gcc/analyzer/call-info.cc:143 0xdc029b ana::call_info::call_info(ana::call_details const&) /repo/gcc-trunk/gcc/analyzer/call-info.cc:139 0x190bf18 ana::call_summary_edge_info::call_summary_edge_info(ana::call_det= ails const&, function*, ana::call_summary*, ana::extrinsic_state const&) /repo/gcc-trunk/gcc/analyzer/engine.cc:1619 0x190bf18 std::enable_if::value, std::unique_ptr > >::type make_unique(ana::call_details&, function*&, ana::call_summary*&, ana::extrinsic_state const&) /repo/gcc-trunk/gcc/make-unique.h:41 0x190bf18 ana::exploded_node::replay_call_summary(ana::exploded_graph&, ana::supernode const*, gcall const*, ana::program_state*, ana::path_context= *, function*, ana::call_summary*, ana::region_model_context*) /repo/gcc-trunk/gcc/analyzer/engine.cc:1734 0x190c0bd ana::exploded_node::replay_call_summaries(ana::exploded_graph&, ana::supernode const*, gcall const*, ana::program_state*, ana::path_context= *, function*, ana::per_function_data*, ana::region_model_context*) /repo/gcc-trunk/gcc/analyzer/engine.cc:1677 0x19119df ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode const*, gimple const*, ana::program_state*, ana::uncertainty_t*, bool*, ana::path_context*) /repo/gcc-trunk/gcc/analyzer/engine.cc:1499 0x19143ba ana::exploded_graph::process_node(ana::exploded_node*) /repo/gcc-trunk/gcc/analyzer/engine.cc:4124 0x191532a ana::exploded_graph::process_worklist() /repo/gcc-trunk/gcc/analyzer/engine.cc:3515 0x1917a85 ana::impl_run_checkers(ana::logger*) /repo/gcc-trunk/gcc/analyzer/engine.cc:6209 0x1918996 ana::run_checkers() /repo/gcc-trunk/gcc/analyzer/engine.cc:6300 0x19075f8 execute /repo/gcc-trunk/gcc/analyzer/analyzer-pass.cc:87 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. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r14-9216-20240228150317-= g5c01ede02a1-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc= /x86_64-pc-linux-gnu/14.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r14-9216-20240228150317-g5c01ede02= a1-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240228 (experimental) (GCC)=