Re: [PATCH] C++: handle locations wrappers when calling warn_for_memset

2017-12-19 Thread Jason Merrill
On 12/16/2017 03:01 PM, Martin Sebor wrote: On 12/16/2017 06:12 AM, David Malcolm wrote: On Mon, 2017-12-11 at 18:36 -0500, Jason Merrill wrote: On 11/10/2017 04:45 PM, David Malcolm wrote: We need to strip away location wrappers in tree.c predicates like integer_zerop, otherwise they fail whe

Re: [PATCH] C++: handle locations wrappers when calling warn_for_memset

2017-12-16 Thread Martin Sebor
On 12/16/2017 06:12 AM, David Malcolm wrote: On Mon, 2017-12-11 at 18:36 -0500, Jason Merrill wrote: On 11/10/2017 04:45 PM, David Malcolm wrote: We need to strip away location wrappers in tree.c predicates like integer_zerop, otherwise they fail when they're called on wrapped INTEGER_CST; an e