[PATCH] analyzer: fix build error with clang (PR 93543)

Sebastian Huber sebastian.huber@embedded-brains.de
Tue Feb 4 16:28:00 GMT 2020


On 04/02/2020 16:45, David Malcolm wrote:

> On Tue, 2020-02-04 at 16:26 +0100, Jakub Jelinek wrote:
>> On Tue, Feb 04, 2020 at 09:00:37AM -0500, David Malcolm wrote:
>>> gcc/analyzer/ChangeLog:
>>> 	PR analyzer/93543
>>> 	* engine.cc
>>> (pod_hash_traits<function_call_string>::mark_empty):
>>> 	Eliminate reinterpret_cast.
>>> 	(pod_hash_traits<function_call_string>::is_empty): Likewise.
>> This is ok for trunk.
> Thanks.
>
> This should now be fixed on master (r10-6434-
> g1dae549dccfec1edb0cb4e65feadc4722bb3bcc8); I verified the build with
> the patch with gcc, and Sebastian verified it with clang.

Thanks a lot for the quick fix. The master builds now again.



More information about the Gcc mailing list