https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112705
Bug ID: 112705 Summary: FAIL: gcc.dg/analyzer/pr94688.c (test for excess errors) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir64/gcc/xgcc -B/home/dave/gnu/gcc/o bjdir64/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/pr94688.c -fdi agnostics-plain-output -fanalyzer -Wanalyzer-too-complex -fanalyzer-call-summari es -S -o pr94688.s /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/pr94688.c: In function 'c': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/pr94688.c:5:5: warning: all ocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer -allocation-size] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/pr94688.c:1:5: note: (1) al located here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/pr94688.c:5:5: note: (2) as signed to 'void (*)()' here; 'sizeof (void())' is '8' FAIL: gcc.dg/analyzer/pr94688.c (test for excess errors) Excess errors: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/pr94688.c:5:5: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size]