[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-02-24 Thread enkovich.gnu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 --- Comment #1 from Ilya Enkovich --- For call arguments we usually store bounds passed in bounds tables and then fill bounds passed in registers. But with -fschedule-insns we have order changed and all hard registers are filled with values befo

[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 Uroš Bizjak changed: What|Removed |Added CC||ysrumyan at gmail dot com --- Comment #2 f

[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-02-24 Thread enkovich.gnu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 --- Comment #4 from Ilya Enkovich --- ix86_function_arg_regno_p doesn't recognize bnd registers as args. Also avoid_func_arg_motion doesn't work for BNDSTX because it is not a single set. This patch works for reproducer: diff --git a/gcc/conf

[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 --- Comment #5 from Uroš Bizjak --- (In reply to Ilya Enkovich from comment #4) > ix86_function_arg_regno_p doesn't recognize bnd registers as args. Also > avoid_func_arg_motion doesn't work for BNDSTX because it is not a single > set. > > Thi

[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-02-25 Thread enkovich.gnu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 --- Comment #6 from Ilya Enkovich --- (In reply to Uroš Bizjak from comment #5) > (In reply to Ilya Enkovich from comment #4) > > > + if (TARGET_MPX && BND_REGNO_P (regno)) > > No need for TARGET_MPX check, there will be no bnd regs when this

[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-02-25 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 --- Comment #7 from ienkovich at gcc dot gnu.org --- Author: ienkovich Date: Wed Feb 25 15:05:48 2015 New Revision: 220970 URL: https://gcc.gnu.org/viewcvs?rev=220970&root=gcc&view=rev Log: gcc/ PR target/65167 * gcc/config/i386/i386.c (

[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-03-24 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 ienkovich at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED C