From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8149F385841C; Thu, 2 Mar 2023 15:19:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8149F385841C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677770359; bh=1upyWHhinqWs3fhII5Zks+vJ+0YojGWZfRATeqFUmsg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=s7PNknIEon+2nUmK20dv3loV54frXd67Fw0qKmBB34iIOie1VTqPr67DaF5+InSyd 7T5yzP6PPlO8RH8tepQnYrODf+gtHmuTC41Bv9WRD8fBz7XJsemnidizDH05nHqmEd 8fFwWTTDPQOcGEatEHJlKYzjAy3w5y09m70f2AgQ= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/108963] ASAN produces wrong line number in the report Date: Thu, 02 Mar 2023 15:19:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: cf_reconfirmed_on see_also everconfirmed bug_status 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=3D108963 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-03-02 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D108023 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Martin Li=C5=A1ka --- Yes, I can see it's very similar to the other problem as I can see a LIM happening in the output: [local count: 955630224]: d__lsm.8_9 =3D MEM[(int *)[pr108963.c:13:3] &d + 4B]; _18 =3D c.3_12 + 1; ivtmp.12_23 =3D (unsigned char) _18; [local count: 8687547547]: # d__lsm.8_5 =3D PHI <[pr108963.c:8:14] _4(4), d__lsm.8_9(3)> # ivtmp.12_3 =3D PHI [pr108963.c:8:14] _4 =3D d__lsm.8_5 | 2; [pr108963.c:7:12 discrim 1] ivtmp.12_17 =3D ivtmp.12_3 + 1; [pr108963.c:7:12 discrim 1] if (ivtmp.12_17 !=3D 3) goto ; [89.00%] else goto ; [11.00%]=