From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAD8D3856940; Fri, 5 May 2023 11:13:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAD8D3856940 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683285205; bh=sbiUqiUPHyfmY7rxePb6cUW7NPSJFev5R3S9f9sihrg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JODVWI+2rKPIiB2WMJxyECqQ2/eTul6nhKt+fN0NrD6D4PXJeXGR2wsiIxL/87Bo6 amt6N7KMztlhrFLm5nPpHw9gk9e53W61jOiWSR6ka+F6TGFGYfz0Kdkea+9zvjeqrr vo9d+pXnzfFfDhK9Xx/2jJfA7px8qf6rD5rI4L9k= From: "colomar.6.4.3 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/109335] -Wanalyzer-malloc-leak false positives and false negatives Date: Fri, 05 May 2023 11:13:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: colomar.6.4.3 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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=3D109335 Alejandro Colomar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |colomar.6.4.3 at gmail dot= com --- Comment #1 from Alejandro Colomar --- I can still reproduce it with GCC-13 and glibc 2.36: $ cat glibc.c=20 #include int main(void) { printf("glibc version: %d.%d\n", __GLIBC__, __GLIBC_MINOR__); } $ gcc-13 -Wall -Wextra glibc.c=20 $ ./a.out=20 glibc version: 2.36 $ gcc-13 --version gcc-13 (Debian 13.1.0-1) 13.1.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=