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

            Bug ID: 129036
           Summary: [17 Regression] r17-6246: Several analyzer tests
                    regress; allocation-size-2.c,
                    flex-with-call-summaries.c...
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: testsuite-fail
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc64-unknown-linux-gnu, cris-elf,
                    arm-unknown-linux-gnueabihf, m68k-unknown-linux-gnu

For cris-elf, r17-6246-g7647c00b77ee1a brought 10 new regressions:
+g++.sum c-c++-common/analyzer/allocation-size-2.c
+g++.sum c-c++-common/analyzer/flex-with-call-summaries.c
+g++.sum g++.dg/analyzer/placement-new-size.C
+gcc.sum c-c++-common/analyzer/allocation-size-2.c
+gcc.sum c-c++-common/analyzer/flex-with-call-summaries.c
+gcc.sum c-c++-common/analyzer/flex-without-call-summaries.c
+gcc.sum gcc.dg/analyzer/taint-alloc-1.c
+gcc.sum gcc.dg/analyzer/taint-alloc-2.c
+gcc.sum gcc.dg/analyzer/taint-alloc-5.c
+gcc.sum gcc.dg/analyzer/taint-write-offset-1.c

The tests then failed as follows (i.e. with context, showing for gcc.sum only):
...
FAIL: gcc.dg/analyzer/mkostemps-1.c  (test for warnings, line 131)
FAIL: gcc.dg/analyzer/mkostemps-1.c (test for excess errors)
FAIL: gcc.dg/analyzer/taint-alloc-1.c  (test for warnings, line 62)
FAIL: gcc.dg/analyzer/taint-alloc-1.c (test for excess errors)
FAIL: gcc.dg/analyzer/taint-alloc-2.c warning (test for warnings, line 21)
FAIL: gcc.dg/analyzer/taint-alloc-2.c final event with expr at line 22 (test
for warnings, line 21)
FAIL: gcc.dg/analyzer/taint-alloc-2.c (test for excess errors)
FAIL: gcc.dg/analyzer/taint-alloc-5.c warning (test for warnings, line 16)
FAIL: gcc.dg/analyzer/taint-alloc-5.c final event with expr at line 17 (test
for warnings, line 16)
FAIL: gcc.dg/analyzer/taint-alloc-5.c (test for excess errors)
FAIL: gcc.dg/analyzer/taint-write-offset-1.c  (test for warnings, line 89)
FAIL: gcc.dg/analyzer/taint-write-offset-1.c  (test for warnings, line 100)
FAIL: gcc.dg/analyzer/taint-write-offset-1.c (test for excess errors)
FAIL: c-c++-common/analyzer/allocation-size-2.c  (test for warnings, line 125)
FAIL: c-c++-common/analyzer/allocation-size-2.c warning at line 135 (test for
warnings, line 130)
FAIL: c-c++-common/analyzer/allocation-size-2.c note at line 136 (test for
warnings, line 130)
FAIL: c-c++-common/analyzer/flex-with-call-summaries.c (test for excess errors)
FAIL: c-c++-common/analyzer/flex-without-call-summaries.c (test for excess
errors)
FAIL: c-c++-common/analyzer/large-constants.c  (test for warnings, line 36)
FAIL: c-c++-common/analyzer/large-constants.c (test for excess errors)
...

For other targets too, these tests regressed around that commit (though not all
for all mentioned targets).  Since then, the taint-* failures went away for
cris-elf with a commit in the range
r17-6639-gb21ccc7c211e6a..r17-6664-gd350813a962a45 (almost certainly the
commits explicitly targeting these tests), leaving these to be the scope of
this bugzilla entry, as they remain for cris-elf at r17-6670-g7543d3c4c4a463:

+g++.sum c-c++-common/analyzer/allocation-size-2.c
+g++.sum c-c++-common/analyzer/flex-with-call-summaries.c
+g++.sum g++.dg/analyzer/placement-new-size.C
+gcc.sum c-c++-common/analyzer/allocation-size-2.c
+gcc.sum c-c++-common/analyzer/flex-with-call-summaries.c
+gcc.sum c-c++-common/analyzer/flex-without-call-summaries.c

The C++ tests fail like this for cris-elf and similarly for other targets
according to posts to gcc-testresults@:

Running /GCCTOP/gcc/testsuite/g++.dg/analyzer/analyzer.exp ...
FAIL: g++.dg/analyzer/placement-new-size.C  -std=c++20  (test for warnings,
line 28)
FAIL: g++.dg/analyzer/placement-new-size.C  -std=c++98  (test for warnings,
line 28)
FAIL: g++.dg/analyzer/placement-new-size.C  -std=c++29  (test for warnings,
line 28)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++20  (test for
warnings, line 125)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++20 warning at line 135
(test for warnings, line 130)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++20 note at line 137
(test for warnings, line 130)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++98  (test for
warnings, line 125)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++98 warning at line 135
(test for warnings, line 130)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++98 note at line 137
(test for warnings, line 130)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++29  (test for
warnings, line 125)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++29 warning at line 135
(test for warnings, line 130)
FAIL: c-c++-common/analyzer/allocation-size-2.c  -std=c++29 note at line 137
(test for warnings, line 130)
FAIL: c-c++-common/analyzer/flex-with-call-summaries.c  -std=c++98 (test for
excess errors)
FAIL: c-c++-common/analyzer/large-constants.c  -std=c++20  (test for warnings,
line 36)
FAIL: c-c++-common/analyzer/large-constants.c  -std=c++20 (test for excess
errors)
FAIL: c-c++-common/analyzer/large-constants.c  -std=c++29  (test for warnings,
line 36)
FAIL: c-c++-common/analyzer/large-constants.c  -std=c++29 (test for excess
errors)

Reply via email to