[Bug target/70442] [6 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "extract_insn"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70442 Ilya Enkovich changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #4 from Ilya Enkovich --- Fixed
[Bug target/70442] [6 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "extract_insn"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70442 --- Comment #3 from Ilya Enkovich --- Author: ienkovich Date: Thu Mar 31 15:37:12 2016 New Revision: 234637 URL: https://gcc.gnu.org/viewcvs?rev=234637=gcc=rev Log: gcc/ PR target/70442 * config/i386/i386.c (scalar_chain::convert_op): Fix description. (scalar_chain::convert_insn): Call convert_op for reg moves to handle undefined registers. gcc/testsuite/ PR target/70442 * gcc.dg/pr70442.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr70442.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog
[Bug target/70442] [6 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "extract_insn"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70442 Ilya Enkovich changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ienkovich at gcc dot gnu.org --- Comment #2 from Ilya Enkovich --- Another undefined register case in STV. Undefined registers were supported in scalar_chain::convert_op but we don't call it for reg-reg moves. Testing this patch: diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 1639704..8c6024b 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -3467,6 +3468,7 @@ scalar_chain::convert_insn (rtx_insn *insn) break; case REG: + convert_op (, insn); break; case SUBREG:
[Bug target/70442] [6 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "extract_insn"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70442 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed||2016-03-29 CC||jakub at gcc dot gnu.org Target Milestone|--- |6.0 Summary|gcc ICE at -O2 and above on |[6 Regression] gcc ICE at |valid code on |-O2 and above on valid code |x86_64-linux-gnu in |on x86_64-linux-gnu in |"extract_insn" |"extract_insn" Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r228231.