https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107446
Bug ID: 107446 Summary: New test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa has excess errors Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:792f039fc37faa3446725a643c8018f084e8ccab, r13-3466-g792f039fc37faa I only saw this on a power 9. It ran OK on power 8 and power 10 machines. configure --enable-languages=c,fortran,c++ --with-cpu=power9 --disable-bootstrap --disable-multilib make -k check-gcc RUNTESTFLAGS="analyzer.exp=gcc.dg/analyzer/pipe-glibc.c" FAIL: gcc.dg/analyzer/pipe-glibc.c (test for excess errors) # of unexpected failures 1 spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c -fdiagnostics-plain-output -fanalyzer -Wanalyzer-too-complex -fanalyzer-call-summaries -S -o pipe-glibc.s^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c: In function 'write_to_pipe':^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c:28:3: warning: use of possibly-NULL 'stream' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c:27:12: note: (1) this call could return NULL^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c:28:3: note: (2) argument 4 ('stream') from (1) could be NULL where non-null expected^M <built-in>: note: argument 4 of '__builtin_fwrite' must be non-null^M Executing on host: /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled106355.cc -fdiagnostics-plain-output -S -o exceptions_enabled106355.s (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled106355.cc -fdiagnostics-plain-output -S -o exceptions_enabled106355.s^M FAIL: gcc.dg/analyzer/pipe-glibc.c (test for excess errors) Excess errors: /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c:28:3: warning: use of possibly-NULL 'stream' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] commit 792f039fc37faa3446725a643c8018f084e8ccab (HEAD, refs/bisect/bad) Author: David Malcolm <dmalc...@redhat.com> Date: Mon Oct 24 16:38:22 2022 -0400 analyzer: handle "pipe" and "pipe2" [PR106300]