This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386, PR target/66048] Fix mode switching ICE for functions returning bounds


On Tue, May 12, 2015 at 12:07 PM, Ilya Enkovich <enkovich.gnu@gmail.com> wrote:

> This patch moves up use insns for returned bounds and also marks bnd1 register as holding return value.  This fixes problem in create_pre_exit for functions with no returned bounds initialization.  Bootstrapped and regtested for x86_64-unknown-linux-gnu.  Is it OK for trunk/gcc-5?
>
> 2015-05-12  Ilya Enkovich  <ilya.enkovich@intel.com>
>
>         * function.c (diddle_return_value_1): Process bounds first.
>         * config/i38/i386.c (ix86_function_value_regno_p): Add bnd1
>         register.
>
> gcc/testsuite/
>
> 2015-05-12  Ilya Enkovich  <ilya.enkovich@intel.com>
>
>         * gcc.target/i386/mpx/pr66048.cc: New.

x86 part is OK.

Thanks,
Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]