Re: [PATCH] Properly honor no_sanitize_undefined attribute

2014-06-30 Thread Marek Polacek
On Mon, Jun 30, 2014 at 03:00:11PM +0200, Jakub Jelinek wrote: > Actually, please change current_function_decl != 0 to > current_function_decl != NULL_TREE everywhere in the patch. > Ok with that change. Ok, I'm applying the following then. 2014-06-30 Marek Polacek * convert.c (conver

Re: [PATCH] Properly honor no_sanitize_undefined attribute

2014-06-30 Thread Jakub Jelinek
On Mon, Jun 30, 2014 at 02:58:53PM +0200, Jakub Jelinek wrote: > On Mon, Jun 30, 2014 at 02:08:26PM +0200, Marek Polacek wrote: > > Apparently I didn't pay much attention to no_sanitize_undefined > > attribute when adding new features to ubsan, so we would instrument > > stuff even though the funct

Re: [PATCH] Properly honor no_sanitize_undefined attribute

2014-06-30 Thread Jakub Jelinek
On Mon, Jun 30, 2014 at 02:08:26PM +0200, Marek Polacek wrote: > Apparently I didn't pay much attention to no_sanitize_undefined > attribute when adding new features to ubsan, so we would instrument > stuff even though the function is marked with this attribute. > Thus fixed & new testcases added.

[PATCH] Properly honor no_sanitize_undefined attribute

2014-06-30 Thread Marek Polacek
Apparently I didn't pay much attention to no_sanitize_undefined attribute when adding new features to ubsan, so we would instrument stuff even though the function is marked with this attribute. Thus fixed & new testcases added. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2014-06-30 Mar