From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE23D3893664; Wed, 29 Apr 2020 17:03:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE23D3893664 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588179788; bh=RBC/NvveimnwMRz+xcB/WioLIauaPPCZCtYaW0RoFh8=; h=From:To:Subject:Date:From; b=dWA5OQKIZgHdj1cUdZCU3ffJ2mGVDUY3FfWZwPRflRtJ/UdJFsbtYdc/D0qURZyDI ot7hRcI7OpSZfNmycSWYYTFb1nXO3bF7f884Lcv+KyUseTaEUMyvIr0mYD5LeDVI9+ 866Zpj8JymwG/4MJnBnZzI57r14JDbRcvgKTtUNg= From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/94853] New: [10 regression] excess errors in gfortran.dg/analyzer/pr93993.f90 since r10-8012 Date: Wed, 29 Apr 2020 17:03:08 +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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at linux dot vnet.ibm.com 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2020 17:03:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94853 Bug ID: 94853 Summary: [10 regression] excess errors in gfortran.dg/analyzer/pr93993.f90 since r10-8012 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at linux dot vnet.ibm.com Target Milestone: --- commit g:78b9783774bfd3540f38f5b1e3c7fc9f719653d7, r10-8012 spawn -ignore SIGHUP /home3/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran -B/home3/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../ -B/home3/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./lib= gfortran/ /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -fdiagnostics-urls=3Dnever -O -fanalyzer -fdiagnostics-path-format=3Dseparate-events -Wanalyzer-too-complex -fanalyzer-call-summaries -S -o pr93993.s /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:21:0: Warning: leak of 'tm' [CWE-401] [-Wanalyzer-malloc-leak] /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:26:0: note: (1) entry to 'main' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:26:0: note: (2) calling 'a5' from 'main' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:25:0: note: (3) entry to 'a5' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:32:0: note: (4) calling 'hv' from 'a5' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:15:0: note: (5) entry to 'hv' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (6) following 'false' branch... /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (7) ...to here /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (8) following 'false' branch... /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (9) ...to here /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:21:0: note: (10) 'tm' leaks here /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:33:0: Warning: leak of '(struct Pdtet_8 *) qb' [CWE-401] [-Wanalyzer-malloc-leak] /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:26:0: note: (1) entry to 'main' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:26:0: note: (2) calling 'a5' from 'main' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:25:0: note: (3) entry to 'a5' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:32:0: note: (4) calling 'hv' from 'a5' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:15:0: note: (5) entry to 'hv' /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (6) following 'false' branch... /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (7) ...to here /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (8) allocated here /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (9) allocated here /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (10) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin: NULL) /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (11) following 'false' branch... /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (12) ...to here /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:19:0: note: (13) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin: NULL) /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:21:0: note: (14) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin: NULL) /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:32:0: note: (15) returning to 'a5' from 'hv' f951: note: (16) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin: NULL) /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:33:0: note: (17) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin: NULL) /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:33:0: note: (18) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin: NULL) /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:33:0: note: (19) '(struct Pdtet_8 *) qb' leaks here; was allocated at (9) PASS: gfortran.dg/analyzer/pr93993.f90 -O (test for bogus messages, line 19) PASS: gfortran.dg/analyzer/pr93993.f90 -O (test for warnings, line 33) Executing on host: /home3/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran -B/home3/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../ -B/home3/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./lib= gfortran/ exceptions_enabled44136.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever=20 -fdiagnostics-urls=3Dnever -S -o exceptions_enabled44136.s (timeout =3D= 300) spawn -ignore SIGHUP /home3/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran -B/home3/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../ -B/home3/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./lib= gfortran/ exceptions_enabled44136.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -fdiagnostics-urls=3Dnever -S -o exceptions_enabled44136.s exceptions_enabled44136.c: In function 'foo': exceptions_enabled44136.c:4:7: error: 'throw' undeclared (first use in this function) exceptions_enabled44136.c:4:7: note: each undeclared identifier is reported only once for each function it appears in exceptions_enabled44136.c:4:12: error: expected ';' before numeric constant compiler exited with status 1 FAIL: gfortran.dg/analyzer/pr93993.f90 -O (test for excess errors) Excess errors: /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f= 90:21:0: Warning: leak of 'tm' [CWE-401] [-Wanalyzer-malloc-leak]=