From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C9FDC3857011; Fri, 14 Aug 2020 18:42:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9FDC3857011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597430522; bh=QOLyupQZJXN9aAjDFDZGrnUlMUZjzLxcKpo8qPBJrCQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=R+cdJzPLtY/0ekcvZ5lz8bh/bjFcJbbPVLp/e96GkkV4sIRSikmXEM8tsuyiU8AsD xDSRasoWIIqWIR6VfhaFumC5VCqa4Bt/+uaxu+R/rFu4SmBJBSXf8Pz/EXQTYfNVq3 6nErRS/OlbgPD2Dc7UJjp0Qu99G14vi0VMYfIBB4= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93388] ensure -fanalyzer works with our C code Date: Fri, 14 Aug 2020 18:42:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: ASSIGNED 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: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2020 18:42:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93388 --- Comment #19 from David Binderman --- I tried out the C++ code with -g -O2 -fanalyzer and got the following: $ cat 20200814.ana.O2.cpp.out | fgrep "internal c" | fgrep analyzer ./g++.dg/expr/ptrmem7.C:20:3: internal compiler error: in get_or_create_mem_ref, at analyzer/region-model.cc:6938 ./g++.dg/expr/ptrmem8.C:13:3: internal compiler error: in get_or_create_mem_ref, at analyzer/region-model.cc:6938 ./g++.old-deja/g++.bugs/900212_03.C:28:3: internal compiler error: in get_or_create_mem_ref, at analyzer/region-model.cc:6938 ./g++.old-deja/g++.law/code-gen4.C:24:9: internal compiler error: in get_or_create_mem_ref, at analyzer/region-model.cc:6938 ./g++.old-deja/g++.mike/pmf1.C:36:3: internal compiler error: in get_or_create_mem_ref, at analyzer/region-model.cc:6938 $ So only one crash, different to the C code, there.=