diff options
author | David Malcolm <dmalcolm@redhat.com> | 2023-01-31 21:18:22 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2023-01-31 21:18:22 -0500 |
commit | d03ae4be2c6d48255b18bb35dc25e551bd3a3b9d (patch) | |
tree | 87274ef309170a0f6516a03dfc6f289b61da3be0 /gcc/gcc.cc | |
parent | 70d34f2a30a5f1a2a09f547d92243db32d79f3f7 (diff) | |
download | gcc-d03ae4be2c6d48255b18bb35dc25e551bd3a3b9d.zip gcc-d03ae4be2c6d48255b18bb35dc25e551bd3a3b9d.tar.gz gcc-d03ae4be2c6d48255b18bb35dc25e551bd3a3b9d.tar.bz2 |
analyzer: fix uses of alloca in testsuite
gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/call-summaries-2.c: Add
dg-require-effective-target alloca.
* gcc.dg/analyzer/imprecise-floating-point-1.c: Likewise.
* gcc.dg/analyzer/infinite-recursion-alloca.c: Likewise.
* gcc.dg/analyzer/malloc-callbacks.c: Likewise.
* gcc.dg/analyzer/out-of-bounds-5.c: Likewise. Remove includes
of <stdio.h> and <alloca.h>. Use "__builtin_free" rather than
"free", to match uses of "__builtin_malloc".
* gcc.dg/analyzer/putenv-1.c: Add dg-require-effective-target
alloca.
* gcc.dg/analyzer/write-to-string-literal-5.c: Likewise.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions