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

2018-08-08 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895

Andreas Krebbel  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Andreas Krebbel  ---
Fixed

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

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895

--- Comment #3 from Andreas Krebbel  ---
Author: krebbel
Date: Tue Apr 25 11:15:44 2017
New Revision: 247190

URL: https://gcc.gnu.org/viewcvs?rev=247190=gcc=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  

Backport from mainline
2017-04-25  Andreas Krebbel  

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  

Backport from mainline
2017-04-25  Andreas Krebbel  

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

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

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895

--- Comment #2 from Andreas Krebbel  ---
Author: krebbel
Date: Tue Apr 25 07:41:41 2017
New Revision: 247133

URL: https://gcc.gnu.org/viewcvs?rev=247133=gcc=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  

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  

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

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

2017-03-06 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895

--- Comment #1 from Dominik Vogt  ---
Confirmed.