This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213


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

--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Tue Apr 25 07:41:41 2017
New Revision: 247133

URL: https://gcc.gnu.org/viewcvs?rev=247133&root=gcc&view=rev
Log:
S/390: PR79895: Fix TImode constant handling

The P constraint letter is supposed to match every constant which is
acceptable during reload.  However, constraints do not appear to be
able to handle const_wide_int yet.  It works with predicates so the
alternative is modelled with a new predicate now.

gcc/ChangeLog:

2017-04-25  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

        PR target/79895
        * config/s390/predicates.md (reload_const_wide_int_operand): New
        predicate.
        * config/s390/s390.md ("movti"): Remove d/P alternative.
        ("movti_bigconst"): New pattern definition.

gcc/testsuite/ChangeLog:

2017-04-25  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

        PR target/79895
        * gcc.target/s390/pr79895.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/s390/pr79895.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/predicates.md
    trunk/gcc/config/s390/s390.md
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]