From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 77F8D3857824; Wed, 5 Oct 2022 16:00:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77F8D3857824 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664985643; bh=YprjEwf1p4a0v5OaCaLOuhEvI01gAVbFnqIJ/ilQZSw=; h=From:To:Subject:Date:From; b=K1NycAoLSGwkoGthywP7Zzi5hJ5X97vrJpSOQe/66gYREe/FIK561imysIejt3fqP 3HXtfOUVGhBEFt56Nq6msgKJKAaNTTnuBoz1+mZv9p8w43NvBuPFQ4WhbUTXyedsXu 5MWNl/Yb7198erGqQJ/TCkibhissmvh0uTtOkVcA= From: "urs at akk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/107158] New: internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832 Date: Wed, 05 Oct 2022 16:00:42 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: urs at akk dot org 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 bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild 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=3D107158 Bug ID: 107158 Summary: internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: urs at akk dot org Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu gcc build from git @ 49192c41de94b2746cd33366134b6aeaefa6ca2a with configure --program-suffix=3D-13 --enable-languages=3Dc,lto --enable-lto --disable-multilib make -j 4 BOOT_CFLAGS=3D'-pipe -O0 -w' bootstrap on x86_64-pc-linux-gnu (Intel(R) Core(TM) i7-6700T); Ubuntu 22.04.1 LTS; GL= IBC 2.35-0ubuntu3.1 gcc-13 -v -save-temps -freport-bug -I. -I../include -DHAVE_CONFIG_H -g -std= =3Dc11 -O2 -Wextra -Wpedantic -Wall -Winline -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wnested-externs -Wcast-align -Wpointer-arith -Waggregate-return -Wcast-qual -Wwrite-strings -Wundef -Wpacked -Wfloat-equal -Wunused-macros -Wold-style-definition -Winit-self -Wmissing-include-dirs -Wlogical-op -Wjump-misses-init -Wformat=3D2 -Wshift-overflow=3D2 -Wnull-dereference -Wduplicated-cond -Walloc-zero -Walloca -Wstringop-overflow=3D2 -Wduplicated-branches -Wno-format-nonliteral -Wno-stringop-truncation -Wno-format-truncation -fanalyzer -Wno-analyzer-fd-use-without-check -fanalyzer-call-summaries -o makecfg ./makecfg.c results in during IPA pass: analyzer ./makecfg.c: In function =E2=80=98parse_tbl=E2=80=99: ./makecfg.c:140:25: internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832 140 | store_data(buffer, ""); | ^~~~~~~~~~~~~~~~~~~~~~ 0x7f3d31181d8f __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7f3d31181e3f __libc_start_main_impl ../csu/libc-start.c:392 without "-fanalyzer-call-summaries" it works as expected, but "complains": /makecfg.c: In function =E2=80=98parse_tbl=E2=80=99: ./makecfg.c:116:1: warning: leak of =E2=80=98=E2=80=99 [CWE-401] [-Wanalyzer-malloc-lea k] 116 | } [...]=