From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ADB833856975; Thu, 16 Nov 2023 14:26:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ADB833856975 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700144807; bh=DO3OMJplqXXk2ez5LmlPqzNfwqOnI0WABaWx5CJcpsI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rjhoRR/sya72HNUMOfNKOZF+KW5b25pY97VMDbearVXDIB/sj1qu5hQQT6aEuPe/6 n0Uu2IdrxCFSwaVym/QhcqHNDmuAC+EFXIYIw472RoIgKieG8nXJJy0HJ9jN7wVOXH r0+RLR7FeVqgxNNK74aDez98ovhoqKi3NTKs4FrM= From: "iamanonymous.cs at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/112565] Abnormal Jump in Execution using 'stepi' Command in GDB under O2 optimization Date: Thu, 16 Nov 2023 14:26:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iamanonymous.cs at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112565 --- Comment #5 from Anonymous --- (In reply to Richard Biener from comment #4) > GCC can interleave instructions belonging to different source lines so > that's what you see. Since you advance assembler instructions I don't se= e a > way to > "improve" things here when optimizing. Got it. Thanks.=