From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1386) id 974693858D20; Thu, 28 Mar 2024 10:56:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 974693858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711623366; bh=3k9QnH1I05mppzKPtb6TUHsC1L7dPATrwZXFwwQbDl4=; h=From:To:Subject:Date:From; b=wj2usWzT0Sb9Mm8oX7IFAxolN0ukS89NDl/EUfiCljax3RrRMIwDWPd9R708+F+YB r6LNq3p5A+jabG4A6ZTH6etFJQS/BM5h7MFVTwA3vGpJBGs4qBNbC+kRhReZyOsw8S ioTuCuKl9cYjC4NPswU81XyFh5/zPzo/NCQNGYQA= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jan Beulich To: binutils-cvs@sourceware.org Subject: [binutils-gdb] gas: drop dead check for double quote X-Act-Checkin: binutils-gdb X-Git-Author: Jan Beulich X-Git-Refname: refs/heads/master X-Git-Oldrev: 226749d5a6ff0d5c607d6428d6c81e1e7e7a994b X-Git-Newrev: 09be89098e3a85785429130030842d4ab11e57e5 Message-Id: <20240328105606.974693858D20@sourceware.org> Date: Thu, 28 Mar 2024 10:56:06 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D09be89098e3a= 85785429130030842d4ab11e57e5 commit 09be89098e3a85785429130030842d4ab11e57e5 Author: Jan Beulich Date: Thu Mar 28 11:54:25 2024 +0100 gas: drop dead check for double quote =20 FB and dollar label definitions can't be enclosed in double quotes. In fact at that point nul_char is the same as next_char, which we know is a digit. Diff: --- gas/read.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gas/read.c b/gas/read.c index 61a3f172674..8026a6cdb65 100644 --- a/gas/read.c +++ b/gas/read.c @@ -1262,9 +1262,6 @@ read_a_source_file (const char *name) =20 temp =3D next_char - '0'; =20 - if (nul_char =3D=3D '"') - ++ input_line_pointer; - /* Read the whole number. */ while (ISDIGIT (*input_line_pointer)) {