public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug analyzer/107060] -fanalyzer unbearably slow when compiling GNU Emacs
Date: Wed, 05 Oct 2022 17:54:38 +0000	[thread overview]
Message-ID: <bug-107060-4-eYCH4lAZGf@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-107060-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107060

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalcolm@gcc.gnu.org>:

https://gcc.gnu.org/g:6832c95c0e1a58ba4d342ec002000f9d9d7db5ca

commit r13-3094-g6832c95c0e1a58ba4d342ec002000f9d9d7db5ca
Author: David Malcolm <dmalcolm@redhat.com>
Date:   Wed Oct 5 13:52:59 2022 -0400

    analyzer: fix ICEs seen with call summaries on PR 107060

    This doesn't fix the various false positives seen with
    -fanalyzer-call-summaries on PR 107060, but stops it crashing at -O2.

    gcc/analyzer/ChangeLog:
            PR analyzer/107060
            * call-summary.cc
            (call_summary_replay::convert_svalue_from_summary_1): Handle NULL
            results from convert_svalue_from_summary in SK_UNARY_OP and
            SK_BIN_OP.
            * engine.cc (impl_region_model_context::on_unknown_change): Bail
            out on svalues that can't have associated state.
            * region-model-impl-calls.cc
            (region_model::impl_call_analyzer_get_unknown_ptr): New.
            * region-model.cc (region_model::on_stmt_pre): Handle
            "__analyzer_get_unknown_ptr".
            * region-model.h
            (region_model::impl_call_analyzer_get_unknown_ptr): New decl.
            * store.cc (store::replay_call_summary_cluster): Avoid trying to
            create binding clusters for base regions that shouldn't have them.

    gcc/ChangeLog:
            PR analyzer/107060
            * doc/analyzer.texi (__analyzer_get_unknown_ptr): Document.

    gcc/testsuite/ChangeLog:
            PR analyzer/107060
            * gcc.dg/analyzer/analyzer-decls.h (__analyzer_get_unknown_ptr):
            New decl.
            * gcc.dg/analyzer/call-summaries-2.c
            (test_summarized_writes_param_to_ptr_unknown): New test.

    Signed-off-by: David Malcolm <dmalcolm@redhat.com>

  parent reply	other threads:[~2022-10-05 17:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-27 19:20 [Bug analyzer/107060] New: " eggert at cs dot ucla.edu
2022-09-27 20:55 ` [Bug analyzer/107060] " dmalcolm at gcc dot gnu.org
2022-09-27 21:31 ` dmalcolm at gcc dot gnu.org
2022-09-27 22:22 ` dmalcolm at gcc dot gnu.org
2022-09-28 13:57 ` dmalcolm at gcc dot gnu.org
2022-09-28 15:01 ` dmalcolm at gcc dot gnu.org
2022-09-29  8:10 ` rguenth at gcc dot gnu.org
2022-10-05 17:54 ` cvs-commit at gcc dot gnu.org [this message]
2022-10-05 18:20 ` dmalcolm at gcc dot gnu.org
2023-03-02 18:26 ` dmalcolm at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-107060-4-eYCH4lAZGf@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).