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

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Similar fails:

FAIL: gcc.dg/analyzer/malloc-1.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-1.c:274:15: warning:
implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-1.c:274:15: warning:
incompatible implicit declaration of built-in function 'alloca'

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c -fno-diagnostics-show-caret
-
fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=n
ever -fanalyzer -fdiagnostics-path-format=separate-events
-Wanalyzer-too-complex
 -fanalyzer-call-summaries -S -o malloc-callbacks.s
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c: In function
'get_alloca':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10:
error:
 'alloca' undeclared (first use in this function); did you mean 'valloc'?
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10: note:
each undeclared identifier is reported only once for each function it appears
in
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c: In function
'get_alloca':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10:
error:
 'alloca' undeclared (first use in this function); did you mean 'valloc'?
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10: note:
each undeclared identifier is reported only once for each function it appears
in

FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 27)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 28)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 34)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 35)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 41)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 53)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 54)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 62)
FAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 64)
XFAIL: gcc.dg/analyzer/malloc-callbacks.c  (test for warnings, line 70)
FAIL: gcc.dg/analyzer/malloc-callbacks.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-callbacks.c:15:10:
error: 'alloca' undeclared (first use in this function); did you mean 'valloc'?

FAIL: gcc.dg/analyzer/malloc-paths-8.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-paths-8.c:16:11:
warning: implicit declaration of function 'alloca'
[-Wimplicit-function-declaration]
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-paths-8.c:16:11:
warning: incompatible implicit declaration of built-in function 'alloca'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-paths-8.c:28:11:
warning: incompatible implicit declaration of built-in function 'alloca'
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/analyzer/malloc-paths-8.c:42:11:
warning: incompatible implicit declaration of built-in function 'alloca'

Reply via email to