Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-03-12 Thread Ilya Enkovich
2015-03-12 12:02 GMT+03:00 Jakub Jelinek ja...@redhat.com: On Thu, Mar 12, 2015 at 11:51:51AM +0300, Ilya Enkovich wrote: On 09 Mar 15:51, Jakub Jelinek wrote: On Mon, Mar 02, 2015 at 01:25:43PM +0300, Ilya Enkovich wrote: --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1376,6 +1376,11

Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-03-12 Thread Ilya Enkovich
On 09 Mar 15:51, Jakub Jelinek wrote: On Mon, Mar 02, 2015 at 01:25:43PM +0300, Ilya Enkovich wrote: --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1376,6 +1376,11 @@ process_options (void) { if (targetm.chkp_bound_mode () == VOIDmode) error

Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-03-12 Thread Jakub Jelinek
On Thu, Mar 12, 2015 at 11:51:51AM +0300, Ilya Enkovich wrote: On 09 Mar 15:51, Jakub Jelinek wrote: On Mon, Mar 02, 2015 at 01:25:43PM +0300, Ilya Enkovich wrote: --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1376,6 +1376,11 @@ process_options (void) { if

Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-03-09 Thread Jakub Jelinek
On Mon, Mar 02, 2015 at 01:25:43PM +0300, Ilya Enkovich wrote: --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1376,6 +1376,11 @@ process_options (void) { if (targetm.chkp_bound_mode () == VOIDmode) error (-fcheck-pointer-bounds is not supported for this target); + +

Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-03-02 Thread Ilya Enkovich
Ping 2015-02-16 20:15 GMT+03:00 Ilya Enkovich enkovich@gmail.com: On 16 Feb 17:01, Jakub Jelinek wrote: On Mon, Feb 16, 2015 at 06:56:45PM +0300, Ilya Enkovich wrote: On 16 Feb 16:31, Jakub Jelinek wrote: On Mon, Feb 16, 2015 at 06:20:59PM +0300, Ilya Enkovich wrote: This patch

Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-02-16 Thread Ilya Enkovich
On 16 Feb 16:31, Jakub Jelinek wrote: On Mon, Feb 16, 2015 at 06:20:59PM +0300, Ilya Enkovich wrote: This patch restricts usage of Pointer Bounds Checker with Sanitizer. OK for trunk? There are many sanitizers, and for most of them I don't see why they would be in any conflict with

Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-02-16 Thread Jakub Jelinek
On Mon, Feb 16, 2015 at 06:56:45PM +0300, Ilya Enkovich wrote: On 16 Feb 16:31, Jakub Jelinek wrote: On Mon, Feb 16, 2015 at 06:20:59PM +0300, Ilya Enkovich wrote: This patch restricts usage of Pointer Bounds Checker with Sanitizer. OK for trunk? There are many sanitizers, and for

Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-02-16 Thread Ilya Enkovich
On 16 Feb 17:01, Jakub Jelinek wrote: On Mon, Feb 16, 2015 at 06:56:45PM +0300, Ilya Enkovich wrote: On 16 Feb 16:31, Jakub Jelinek wrote: On Mon, Feb 16, 2015 at 06:20:59PM +0300, Ilya Enkovich wrote: This patch restricts usage of Pointer Bounds Checker with Sanitizer. OK for

[PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-02-16 Thread Ilya Enkovich
Hi, This patch restricts usage of Pointer Bounds Checker with Sanitizer. OK for trunk? Thanks, Ilya -- gcc/ 2015-02-16 Ilya Enkovich ilya.enkov...@intel.com PR target/65044 * toplev.c (process_options): Restrict Pointer Bounds Checker usage with sanitizers.

Re: [PATCH, CHKP, PR target/65044] Restrict pointer bounds checker with Sanitizer

2015-02-16 Thread Jakub Jelinek
On Mon, Feb 16, 2015 at 06:20:59PM +0300, Ilya Enkovich wrote: This patch restricts usage of Pointer Bounds Checker with Sanitizer. OK for trunk? There are many sanitizers, and for most of them I don't see why they would be in any conflict with -mmpx, it is just -fsanitize=address and