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.

Reply via email to