This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] gas: delete unnecessary skip of whitespace


Was going through fixes for PR14887 and PR14987 and noticed that
there's a whitespace skip that was made unnecessary by
https://sourceware.org/ml/binutils-cvs/2013-06/msg00107.html .

This is pretty minor and could probably just be worked into a larger
cleanup changeset if there are plans for that in the near future.

Checked for regression by running the testsuite.

Regards,

Gregory


gas/
        * config/tc-arm.c (parse_address_main) Delete skip of whitespace
        here as it is no longer needed.

--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -5175,9 +5175,6 @@ parse_address_main (char **str, int i, int
group_relocations,
       return PARSE_OPERAND_SUCCESS;
     }

-  /* PR gas/14887: Allow for whitespace after the opening bracket.  */
-  skip_whitespace (p);
-
   if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
     {
       inst.error = _(reg_expected_msgs[REG_TYPE_RN]);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]