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 05/12/2015 04:07 AM, Ilya Enkovich wrote:
Hi,

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?

Thanks,
Ilya
--
gcc/

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.
OK for the trunk. Release managers have the final say on the branches, but looks pretty safe to me.

jeff


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