PR70404 S/390: Fix insv expansion.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 1 Apr 2016 15:35:54 +0000 (15:35 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 1 Apr 2016 15:35:54 +0000 (15:35 +0000)
commite7067fcdb510d363ea8dd354eb6fe6d698a83240
tree81dd991a8f867011f8cefeb6a79f31774158b318
parent0f8754352485c6aaa6a6b85ce252585ae1eb31d7
PR70404 S/390: Fix insv expansion.

While the expander accepts general_operand as src operand the risbg
pattern only immediate_operand.  Unfortunately the expander called
force_reg only for VOIDmode constants missing things like
e.g. symbol_refs.  Fixed with the attached patch.

gcc/ChangeLog:

2016-04-01  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/70404
* config/s390/s390.c (s390_expand_insv): Check for everything
constant instead of just VOIDmode stuff.

From-SVN: r234678
gcc/ChangeLog
gcc/config/s390/s390.c