Re: [PATCH v2] RISC-V: Avoid calloc() poisoning on musl

2023-03-11 Thread Andrew Pinski via Gcc-patches
On Sat, Mar 11, 2023 at 12:32 PM Andrew Pinski wrote: > > On Sat, Mar 11, 2023 at 12:27 PM Sam James via Gcc-patches > wrote: > > > > This fixes errors like: > > ``` > > In file included from /usr/include/pthread.h:30, > > from > > /usr/lib/gcc/riscv64-gentoo-linux-musl/12/inclu

Re: [PATCH v2] RISC-V: Avoid calloc() poisoning on musl

2023-03-11 Thread Andrew Pinski via Gcc-patches
On Sat, Mar 11, 2023 at 12:27 PM Sam James via Gcc-patches wrote: > > This fixes errors like: > ``` > In file included from /usr/include/pthread.h:30, > from > /usr/lib/gcc/riscv64-gentoo-linux-musl/12/include/g++-v12/riscv64-gentoo-linux-musl/bits/gthr-default.h:35, >

[PATCH v2] RISC-V: Avoid calloc() poisoning on musl

2023-03-11 Thread Sam James via Gcc-patches
This fixes errors like: ``` In file included from /usr/include/pthread.h:30, from /usr/lib/gcc/riscv64-gentoo-linux-musl/12/include/g++-v12/riscv64-gentoo-linux-musl/bits/gthr-default.h:35, from /usr/lib/gcc/riscv64-gentoo-linux-musl/12/include/g++-v12/riscv64-ge