From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9BA94385703E; Tue, 25 Oct 2022 17:00:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9BA94385703E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666717226; bh=ef7O83tA4W88L3fPoWgQKVr1+g3rjoxSt3kcGPkfrKU=; h=From:To:Subject:Date:From; b=HDQjiue2mGGqYufcog81McoxxRGW8giJz2rJe2qv9hobxHGG0DAzS+hauv+yV9vGG uIgPc7s3dNBYhibG5ChJ048yNzONDa6YDHcFQHXGCa15KA6umdBeIPyc2VfbcsJ3PI ysQyVpwo6s0A4RK3us4+Q9K2r/R73QInTrW1EoPI= From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107396] New: [12 regression] new test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa fails with excess errors Date: Tue, 25 Oct 2022 17:00:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target 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=3D107396 Bug ID: 107396 Summary: [12 regression] new test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa fails with excess errors Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:792f039fc37faa3446725a643c8018f084e8ccab, r13-3466-g792f039fc37faa 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 I am only seeing this failure on power 9. It works fine on power 8 and pow= er 10. commit 792f039fc37faa3446725a643c8018f084e8ccab (HEAD, refs/bisect/bad) Author: David Malcolm Date: Mon Oct 24 16:38:22 2022 -0400 analyzer: handle "pipe" and "pipe2" [PR106300] 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 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]=