From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BC31A3850415; Fri, 18 Sep 2020 14:19:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC31A3850415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600438761; bh=4P8DRwTID5Zv4NRlt9j85hqcEsvzfiz59euZtQm2ipE=; h=From:To:Subject:Date:From; b=whB39cON21SYnDv2ixrmlroibtonfXIed8RrFPi875JrF3XV+eGSH+/b2VTcmEu8B KHkyHzun2IDwpdOq/wR+S7IYUQo6D0v94CxfcC12CfVSLOwRFAWpsdVEFbjNJmiW4g XxVHLvdt+xMZcm5v9QkqJrX1cHcon6x2tqMDvNlk= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/97116] New: Fix argument numbering in C++ member function calls Date: Fri, 18 Sep 2020 14:19:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter blocked 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: Fri, 18 Sep 2020 14:19:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97116 Bug ID: 97116 Summary: Fix argument numbering in C++ member function calls Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Blocks: 97110 Target Milestone: --- IIRC -fanalyzer currently misreports parameter numbers in calls when there'= s an implicit "this" pointer (e.g. when passing NULL as "this" due to a buggy allocator to a ctor call it reports "parameter 1", rather than "this"). We might need a langhook for this (but what about LTO, and e.g. mixed-langu= age analysis?) (Filing this as part of the -fanalyzer C++ tracker bug) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97110 [Bug 97110] [meta-bug] tracker bug for supporting C++ in -fanalyzer=