From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0A0213858C54; Wed, 5 Oct 2022 18:20:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A0213858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664994052; bh=afFkQ3JUvogttIME7k4v47r+j3RRb8yIihbmjqg0e/o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XBVHn2MTZj7PlM2UK+fK13/vVsv0H51VmAzoeVzoXEcXvz5k99CteWSdBeuKyyeDb CnQjESYj39sVcogPIBj9MJO57UIugHDUz0vacZ9Nu+tG6x7sweIur9XeVO/Uyk9g4b GVpCvwbKoPqS1GBOcATfbX3eS/vYKwr1GxfDqIDU= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/107060] -fanalyzer unbearably slow when compiling GNU Emacs Date: Wed, 05 Oct 2022 18:20:51 +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: 12.2.1 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107060 --- Comment #8 from David Malcolm --- The patch for PR analyzer/107072 and the above patch mean that we get more reasonable summaries when using -fanalyzer-call-summaries. Unfortunately: - it actually slows down the analysis for PR 107060 on my box, from 10 minu= tes to 22 minutes at -O2, and - leads to lots of diagnostics. Given e.g. the false positives seen in PR analyzer/107158, I don't trust these diagnostics. Hence I don't recommend turning on -fanalyzer-call-summaries yet.=