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

--- Comment #8 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
****************************************************************************
Changes from gcc 16.2.1 to gcc trunk (r17-6248-gf7f84d53720030):
****************************************************************************
Focusing on the changes:

-gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)
+gcc (GCC) 17.0.0 20261113 (experimental)

-uninit_variable  457      96.7%    0.0%  +96.7%
+uninit_variable  457     100.0%    0.0% +100.0%
 --------------------------------------------------
-MACRO AVERAGE             47.0%    0.0%  +47.0%
+MACRO AVERAGE             47.4%    0.0%  +47.4%

 ==============================================================================
 FLAT AGGREGATE SCORING

-uninit_variable  457    29    0     1     30      96.7%    0.0%  +96.7%
+uninit_variable  457    30    0     0     30     100.0%    0.0% +100.0%

-TOTAL                   127   0     143   270     47.0%    0.0%  +47.0%
+TOTAL                   128   0     142   270     47.4%    0.0%  +47.4%

 ==============================================================================
 SUMMARY

-  Tests with findings:    127
+  Tests with findings:    128
   Declared out of scope:  cmdi, ldapi, pathtraver, sqli, ssrf, weakcipher,
weakhash, weakrand, xpathi, xxe
   Scope:                  9 categories scored, 10 left out by the tool

-  Flat Score:             +47.0%
-  Category-Averaged:      +47.0% (macro-averaged)
+  Flat Score:             +47.4%
+  Category-Averaged:      +47.4% (macro-averaged)

gcc 17 has improved slightly relative to gcc 16, gaining a true positive for
-Wanalyzer-use-of-uninitialized-value for benchmark_test_01026.c (for the
execution path where n==0)

Reply via email to