[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-03 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 Alexandre Oliva changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-03 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 --- Comment #8 from Alexandre Oliva --- Fixed

[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 --- Comment #7 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:daca416fc2816a5e481b26c8d2010127101d77ce commit r12-5787-gdaca416fc2816a5e481b26c8d2010127101d77ce Author: Alexandre Oliva Date:

[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-02 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 --- Comment #6 from Alexandre Oliva --- This will probably avoid the error. valid_insn_p checks the alternatives, and fails for the invalid cmpdi_ccu that we attempt to create. Conceivably, this could be avoided by narrowing down the condition

[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 --- Comment #5 from Andrew Pinski --- (In reply to Alexandre Oliva from comment #4) > Andrew, > > asm("":"=g"(tt):"g"(t)); > asm("":"=g"(ii):"g"(i)); > > Make it "0" for the inputs: > > asm("":"=g"(tt):"0"(t)); Oh yes sorry I did make

[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-02 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 --- Comment #4 from Alexandre Oliva --- Andrew, asm("":"=g"(tt):"g"(t)); asm("":"=g"(ii):"g"(i)); Make it "0" for the inputs: asm("":"=g"(tt):"0"(t)); and AFAICT if you "detach" the immediate constant, you won't get the bug. The probl