https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70404

--- Comment #5 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Fri Apr  1 15:35:54 2016
New Revision: 234678

URL: https://gcc.gnu.org/viewcvs?rev=234678&root=gcc&view=rev
Log:
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  <kreb...@linux.vnet.ibm.com>

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


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390.c

Reply via email to