diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2020-12-13 20:46:17 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2020-12-13 20:46:17 +0000 |
commit | 294ca9eca0293146d91768f7a75335fb642b489e (patch) | |
tree | 601edd7bf5a02ee8ab5cab2eea35166ae70bb7de /gcc/testsuite | |
parent | ffb1dcf6222ef8bdbd234b34fe98a9cacc262f00 (diff) | |
download | gcc-294ca9eca0293146d91768f7a75335fb642b489e.zip gcc-294ca9eca0293146d91768f7a75335fb642b489e.tar.gz gcc-294ca9eca0293146d91768f7a75335fb642b489e.tar.bz2 |
VAX: Handle subtracting from self with QMATH DImode add/sub
Remove an assertion the failure of which has not been actually observed,
but which appears clearly dangerous, for when the QMATH DImode add/sub
handler is invoked with the subtrahend and the minuend both the same.
Instead handle the operation by emitting a move of constant 0 to the
output operand. Adjust the relevant inline comment accordingly.
gcc/
* config/vax/vax.c (vax_expand_addsub_di_operands): Handle equal
input operands with subtraction.
Diffstat (limited to 'gcc/testsuite')
0 files changed, 0 insertions, 0 deletions