[2/3] gas: drop dead check for double quote

Message ID a4a177f9-cac4-497f-a7a4-1c5e19243fdd@suse.com
State New
Series gas: FB and dollar labels |


Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Testing passed

Commit Message

Jan Beulich March 22, 2024, 9:40 a.m. UTC
  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
in fact I question the need for setting nul_char in the earlier loop
dealing with the start of the line.


--- a/gas/read.c
+++ b/gas/read.c
@@ -1262,9 +1262,6 @@  read_a_source_file (const char *name)
 	      temp = next_char - '0';
-	      if (nul_char == '"')
-		++ input_line_pointer;
 	      /* Read the whole number.  */
 	      while (ISDIGIT (*input_line_pointer))