Re: [PATCH 9/17] Initial KAsan support

2014-10-17 Thread Jakub Jelinek
On Fri, Oct 17, 2014 at 12:44:26PM +0400, Yury Gribov wrote: > On 10/17/2014 11:43 AM, Eric Botcazou wrote: > >>Well, that's a backport of ancient patch from trunk so all credits go > >>there. And flag_sanitize is indeed handled differently from other > >>compiler flags. > > > >Really curious to kn

Re: [PATCH 9/17] Initial KAsan support

2014-10-17 Thread Yury Gribov
On 10/17/2014 11:43 AM, Eric Botcazou wrote: Well, that's a backport of ancient patch from trunk so all credits go there. And flag_sanitize is indeed handled differently from other compiler flags. Really curious to know why... I bet this was a typo but let's wait for Jakub's comments. -Y

Re: [PATCH 9/17] Initial KAsan support

2014-10-17 Thread Eric Botcazou
> Well, that's a backport of ancient patch from trunk so all credits go > there. And flag_sanitize is indeed handled differently from other > compiler flags. Really curious to know why... -- Eric Botcazou

Re: [PATCH 9/17] Initial KAsan support

2014-10-17 Thread Yury Gribov
On 10/17/2014 11:27 AM, Eric Botcazou wrote: The patch was slightly updated to take care of missing UBSan work (SANITIZE_FLOAT_DIVIDE, SANITIZE_FLOAT_CAST, SANITIZE_BOUNDS). --- a/gcc/opts.c +++ b/gcc/opts.c @@ -868,6 +868,20 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts

Re: [PATCH 9/17] Initial KAsan support

2014-10-17 Thread Eric Botcazou
> The patch was slightly updated to take care of missing UBSan work > (SANITIZE_FLOAT_DIVIDE, SANITIZE_FLOAT_CAST, SANITIZE_BOUNDS). --- a/gcc/opts.c +++ b/gcc/opts.c @@ -868,6 +868,20 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, /* The -gsplit-dwarf option requir

Re: [PATCH 9/17] Initial KAsan support

2014-10-16 Thread Jakub Jelinek
On Thu, Oct 16, 2014 at 12:39:56PM +0400, Yury Gribov wrote: > The patch was slightly updated to take care of missing UBSan work > (SANITIZE_FLOAT_DIVIDE, SANITIZE_FLOAT_CAST, SANITIZE_BOUNDS). > 2014-10-15 Yury Gribov > > Backport from mainline > 2014-07-31 Yury Gribov > >

[PATCH 9/17] Initial KAsan support

2014-10-16 Thread Yury Gribov
The patch was slightly updated to take care of missing UBSan work (SANITIZE_FLOAT_DIVIDE, SANITIZE_FLOAT_CAST, SANITIZE_BOUNDS). 2014-10-15 Yury Gribov Backport from mainline 2014-07-31 Yury Gribov * doc/cpp.texi (__SANITIZE_ADDRESS__): Updated description. * doc/invoke.texi (-fsanitiz