From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6F2D3385701E; Mon, 7 Sep 2020 10:45:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F2D3385701E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599475510; bh=btD2lr5+/ITGtKD/hbre66kiIypqOsaxRWqT/G0VHrQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=O3yyWRdE/7PgUlXdiTLZsSepl+8vOAJQNjkH86tOfiTBpkap2usy2ZZSBKXRnfZ2l etNmCDVVyOsGZCmBZ9ajq08Y9li+jmLO74tL/sA2WqMdVFj1zRl5SUoE7RWWtB34tc +tOtSLk/6LnU4dtDI33ca3V/QrSTnlvQGmAafPDE= From: "u1049321969 at caramail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53929] Bug in the use of Intel asm syntax when a global is named "and" Date: Mon, 07 Sep 2020 10:45:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.6.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: u1049321969 at caramail dot com X-Bugzilla-Status: UNCONFIRMED 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: Mon, 07 Sep 2020 10:45:10 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53929 --- Comment #4 from tk --- I have found that if I manually change lea rax, bx[rip] to something like lea rax, __bx[rip] ... .weakref __bx, bx the assembly pass succeeds, with the correct results. (It seems that the names "bx" and "and" only pose problems when they are us= ed within expressions. If they are used in a context which unequivocally dema= nds a symbol, then gas can parse them.) Thank you!=