Re: [PATCH] calls.c: refactor special_function_p for use by analyzer (v2)

2020-01-31 Thread Jakub Jelinek
On Thu, Jan 30, 2020 at 08:32:25PM -0500, David Malcolm wrote: > gcc/analyzer/ChangeLog: > * analyzer.cc (is_named_call_p): Replace tests for fndecl being > extern at file scope and having a non-NULL DECL_NAME with a call > to maybe_special_function_p. > * function-set.cc (f

Re: [PATCH] calls.c: refactor special_function_p for use by analyzer

2020-01-27 Thread Jakub Jelinek
On Mon, Jan 27, 2020 at 09:09:37PM -0500, David Malcolm wrote: > > Please see calls.c (special_function_p), you should treat certainly > > also sigsetjmp as a setjmp call, and similarly to special_function_p, > > skip over _ or __ prefixes before the setjmp or sigsetjmp name. > > Similarly for long