From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DDF57385DC0A; Sun, 10 May 2020 08:52:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DDF57385DC0A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589100726; bh=hDOO9ybk/ZxUT3xP6Bk+CHgNwq+0mMSZJ1AVMw8qfQ8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PH/fpOZVofmKX/6LRX+LMszRtDB2MknRmMEhKfPGxMSVMIYObL8jbCChmDgK7tdrn Q6/shzCK53vPDkKmaTmWrtkoqGdl3MyWsHmvdrE3cKB90X8dpVL9Sb9SN4HFUpssEj TPZ2Rjeixvx6Vl5Q4Vf9Q6IpmiyHexjS3XGhOe5s= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80711] warn on non-const accessor member functions Date: Sun, 10 May 2020 08:52:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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 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: Sun, 10 May 2020 08:52:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80711 --- Comment #12 from Jonathan Wakely --- A first approximation that is implemented in the wrong part of the compiler, using the wrong logic, giving the wrong answers, is not a step in the right direction because it would need to be completely redone. Might as well just start the right version and skip that first approximation.=