aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorJoel Teichroeb <joel@teichroeb.net>2022-02-04 11:35:08 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2022-02-08 21:36:21 -0500
commite52a683170877d140eebc9782731eaf11897db71 (patch)
tree6125c20ee638da53fade1929745f1bd3b9b72e9a /gcc/go
parent391512ade5f6cda95456133296c8dcc42d5fbefd (diff)
downloadgcc-e52a683170877d140eebc9782731eaf11897db71.zip
gcc-e52a683170877d140eebc9782731eaf11897db71.tar.gz
gcc-e52a683170877d140eebc9782731eaf11897db71.tar.bz2
analyzer: Fix tests for glibc 2.35 [PR101081]
In recent versions of glibc fopen has __attribute__((malloc)). Since we can not detect wether this attribute is present or not, we avoid including stdio.h and instead forward declare what we need in each test. Signed-off-by: Joel Teichroeb <joel@teichroeb.net> gcc/testsuite/ChangeLog: PR analyzer/101081 * gcc.dg/analyzer/analyzer-verbosity-2a.c: Replace #include of stdio.h with declarations needed by the test. * gcc.dg/analyzer/analyzer-verbosity-3a.c: Likewise. * gcc.dg/analyzer/edges-1.c: Likewise. * gcc.dg/analyzer/file-1.c: Likewise. * gcc.dg/analyzer/file-2.c: Likewise. * gcc.dg/analyzer/file-paths-1.c: Likewise. * gcc.dg/analyzer/file-pr58237.c: Likewise. * gcc.dg/analyzer/pr99716-1.c: Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions