aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/ChangeLog
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2020-02-28 10:06:57 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2020-03-02 16:45:04 -0500
commit13b7691238f189c7a233aedec49306a7cb2b0a15 (patch)
tree5dc52bca9a149f2ca48fd9d35c8159014e21c4dd /gcc/analyzer/ChangeLog
parent6e4444078aec716aa8214c13d7d20292aa232b5b (diff)
downloadgcc-13b7691238f189c7a233aedec49306a7cb2b0a15.zip
gcc-13b7691238f189c7a233aedec49306a7cb2b0a15.tar.gz
gcc-13b7691238f189c7a233aedec49306a7cb2b0a15.tar.bz2
analyzer: don't print the duplicate count by default
The note about duplicates attached to analyzer diagnostics feels like an implementation detail; it's likely just noise from the perspective of an end-user. This patch disables it by default, introducing a flag to re-enable it. gcc/analyzer/ChangeLog: * analyzer.opt (fanalyzer-show-duplicate-count): New option. * diagnostic-manager.cc (diagnostic_manager::emit_saved_diagnostic): Use the above to guard the printing of the duplicate count. gcc/ChangeLog: * doc/invoke.texi (-fanalyzer-show-duplicate-count): New. gcc/testsuite/ChangeLog: * gcc.dg/analyzer/CVE-2005-1689-dedupe-issue.c: Add -fanalyzer-show-duplicate-count.
Diffstat (limited to 'gcc/analyzer/ChangeLog')
-rw-r--r--gcc/analyzer/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index e5d7bdb..fa0fbcd 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,5 +1,12 @@
2020-03-02 David Malcolm <dmalcolm@redhat.com>
+ * analyzer.opt (fanalyzer-show-duplicate-count): New option.
+ * diagnostic-manager.cc
+ (diagnostic_manager::emit_saved_diagnostic): Use the above to
+ guard the printing of the duplicate count.
+
+2020-03-02 David Malcolm <dmalcolm@redhat.com>
+
PR analyzer/93959
* analyzer.cc (is_std_function_p): New function.
(is_std_named_call_p): New functions.