From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2DFCA3846079; Fri, 27 Nov 2020 05:00:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DFCA3846079 From: "cs.yang.yibiao at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/85163] [GCOV] A call statement with '==' , '||', and '&&' operators is wrongly marked as executed twice Date: Fri, 27 Nov 2020 05:00:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cs.yang.yibiao at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned 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 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, 27 Nov 2020 05:00:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85163 Yibiao Yang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cs.yang.yibiao at gmail do= t com --- Comment #4 from Yibiao Yang --- (In reply to Sunil Kumar from comment #3) > I have executed same code on gcc 7.4.0 and line number #11 is properly > marked as executed once.. please let me know your comment on gcc behaviou= r. Yes. We observed this incorrect behavior in gcc version 8.0.0 20170923 (experimental) [trunk revision 253118]. Besides, this problem should be also exists in later versions.=