Re: [PATCH] MPX: fix PR middle-end/79753

2017-03-15 Thread Ilya Enkovich
2017-03-15 20:09 GMT+03:00 Jeff Law : > On 03/15/2017 04:15 AM, Martin Liška wrote: >> >> On 03/14/2017 11:27 PM, Ilya Enkovich wrote: >>> >>> 2017-03-10 16:15 GMT+03:00 Martin Liška : Hello. Currently, __builtin_ia32_bndret is used for all

Re: [PATCH] MPX: fix PR middle-end/79753

2017-03-15 Thread Ilya Enkovich
2017-03-15 13:15 GMT+03:00 Martin Liška : > On 03/14/2017 11:27 PM, Ilya Enkovich wrote: >> >> 2017-03-10 16:15 GMT+03:00 Martin Liška : >>> >>> Hello. >>> >>> Currently, __builtin_ia32_bndret is used for all functions that have >>> non-void >>> return type. I think

Re: [PATCH] MPX: fix PR middle-end/79753

2017-03-15 Thread Jeff Law
On 03/15/2017 04:15 AM, Martin Liška wrote: On 03/14/2017 11:27 PM, Ilya Enkovich wrote: 2017-03-10 16:15 GMT+03:00 Martin Liška : Hello. Currently, __builtin_ia32_bndret is used for all functions that have non-void return type. I think the right fix is to return bounds just

Re: [PATCH] MPX: fix PR middle-end/79753

2017-03-15 Thread Martin Liška
On 03/14/2017 11:27 PM, Ilya Enkovich wrote: 2017-03-10 16:15 GMT+03:00 Martin Liška : Hello. Currently, __builtin_ia32_bndret is used for all functions that have non-void return type. I think the right fix is to return bounds just for a bounded type. Patch can bootstrap on

Re: [PATCH] MPX: fix PR middle-end/79753

2017-03-14 Thread Ilya Enkovich
2017-03-10 16:15 GMT+03:00 Martin Liška : > Hello. > > Currently, __builtin_ia32_bndret is used for all functions that have non-void > return type. I think the right fix is to return bounds just for a bounded > type. > > Patch can bootstrap on x86_64-linux-gnu and survives

[PATCH] MPX: fix PR middle-end/79753

2017-03-10 Thread Martin Liška
rom f4ad5003a42ca95187305a9b201656c7da2aaa01 Mon Sep 17 00:00:00 2001 From: marxin <mli...@suse.cz> Date: Thu, 9 Mar 2017 15:42:49 +0100 Subject: [PATCH] MPX: fix PR middle-end/79753 gcc/ChangeLog: 2017-03-09 Martin Liska <mli...@suse.cz> PR middle-end/79753 * tree-chkp.c (chkp_build_returned_bound