Fix uninitialized field in expand_operand.
authorAndrew Pinski <apinski@marvell.com>
Thu, 16 Jan 2020 01:52:12 +0000 (01:52 +0000)
committerAndrew Pinski <apinski@marvell.com>
Thu, 16 Jan 2020 12:25:31 +0000 (12:25 +0000)
commit55c7ffae7021367df36588d7991a1fb0f870e2c6
treef415c75a28c12fdf4da3cf6f803941e946dbd520
parent2588197b6c2175d7ef9f05a8636f58dfeab12b1d
Fix uninitialized field in expand_operand.

Commit g:f96bf49a0 added the target field to expand_operand.
But it leaves it uninitialized when doing a full initialization
inside create_expand_operand.  This fixes the problem and improves
the code generation inside create_expand_operand too.

ChangeLog:
* optabs.h (create_expand_operand): Initialize target field also.
gcc/ChangeLog
gcc/optabs.h