Re: [PATCH] c++: avoid poisoning on musl [PR106102]

2022-06-27 Thread Richard Biener via Gcc-patches
> Am 27.06.2022 um 16:50 schrieb Sergei Trofimovich : > > From: Sergei Trofimovich > > On musl uses calloc() (via ). includes > it indirectly and exposes use of poisoned calloc() when module code > is built: > >/build/build/./prev-gcc/xg++ ... > ../../gcc-13-20220626/gcc/cp/mapper-re

[PATCH] c++: avoid poisoning on musl [PR106102]

2022-06-27 Thread Sergei Trofimovich via Gcc-patches
From: Sergei Trofimovich On musl uses calloc() (via ). includes it indirectly and exposes use of poisoned calloc() when module code is built: /build/build/./prev-gcc/xg++ ... ../../gcc-13-20220626/gcc/cp/mapper-resolver.cc In file included from /<>/musl-1.2.3-dev/include/pthread.h