From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 371AB392AC17; Thu, 27 Oct 2022 23:19:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 371AB392AC17 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666912750; bh=Iy64dXR7bKFLYWQh4Z5mkgDN7gRlsj687vN1QPxXY9g=; h=From:To:Subject:Date:From; b=wfeFd0x8PexeeGa+rJ51AqhUqNLHzeu11UCcSJUTN9bHCwEJtNOO/VyN7Y9pyD9Dc kacpNXnMRfuPNjjFv1+dYh4/3ww+UtBw/mTktDElvnHiBv8EwU2a2594MXLZWFFUMC 9pExcMrGD3kJkkh4Vy07CG/J/5Ah8U+VoUjPeF/w= From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/107446] New: New test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa has excess errors Date: Thu, 27 Oct 2022 23:19:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107446 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=3Dc,fortran,c++ --with-cpu=3Dpower9 --disable-bootstrap --disable-multilib make -k check-gcc RUNTESTFLAGS=3D"analyzer.exp=3Dgcc.dg/analyzer/pipe-glib= c.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 : 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=20= =20=20 -fdiagnostics-plain-output -S -o exceptions_enabled106355.s (timeout = =3D 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 Date: Mon Oct 24 16:38:22 2022 -0400 analyzer: handle "pipe" and "pipe2" [PR106300]=