[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213
krebbel at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 25 11:16:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895
--- Comment #3 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Tue Apr 25 11:15:44 2017
New Revision: 247190
URL: https://gcc.gnu.org/viewcvs?rev=247190&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>
Backport from mainline
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>
Backport from mainline
2017-04-25 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
PR target/79895
* gcc.target/s390/pr79895.c: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.target/s390/pr79895.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/s390/predicates.md
branches/gcc-7-branch/gcc/config/s390/s390.md
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list