[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

enkovich.gnu at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 25 09:57:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167

--- Comment #6 from Ilya Enkovich <enkovich.gnu at gmail dot com> ---
(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 flag is
> cleared.

__builtin_apply_args stores all registers that might be used to pass arguments
to a function.  With no target check it will always try to store bounds with no
instructions to do that.


More information about the Gcc-bugs mailing list