Fix an internal error in GAS when assembling a bogus piece of source code.
authorNick Clifton <nickc@redhat.com>
Wed, 29 Apr 2015 16:09:05 +0000 (17:09 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 29 Apr 2015 16:09:05 +0000 (17:09 +0100)
commit99b2a2dd3cd91ee45aba56a90b52be943001e8f4
tree3a41845febc92c317694a0232466a17a995d07a8
parent43c1d34c319626747c6765253294eb458a7bd93d
Fix an internal error in GAS when assembling a bogus piece of source code.

gas PR 18256
* config/tc-arm.c (encode_arm_cp_address): Issue an error message
if the operand is neither a register nor a vector.

tests * gas/arm/pr18256.s: New file: Test case.
* gas/arm/pr18256.l: New file: Expected assembler output.
* gas/arm/pr18256.d: New file: Test driver.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/pr18256.d [new file with mode: 0644]
gas/testsuite/gas/arm/pr18256.l [new file with mode: 0644]
gas/testsuite/gas/arm/pr18256.s [new file with mode: 0644]
This page took 0.026064 seconds and 4 git commands to generate.