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]

Re: [PATCH] aarch64: move bogus assertion


On 20 October 2014 10:22, Jan Beulich <JBeulich@suse.com> wrote:
> Asserting "idx" to be non-negative when subsequent code handles this
> case is bogus. In fact the assertion triggers e.g. when mistakenly
> using the arm32 comment character @ following an instruction.
>
> While doing this I also noticed that despite there being local
> variables "detail" and "idx", not all places where they could be used
> did actually make use of them, so this is being adjusted at once.
>
> Finally, for the code to be slightly more robust, also change
> comparisons against -1 to such checking for a (non-)negative value.
>
> gas/
> 2014-10-20  Jan Beulich <jbeulich@suse.com>

Double space before <.

>
>         * config/tc-aarch64.c (output_operand_error_record): Move down
>         assertion of idx being non-negative. Use local variables when
>         available.

OK, thanks.


Tristan, Are we OK to back port this to the 2.25 branch ?

Cheers
/Marcus


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