[PATCH v5 0/6] Add support for LoongArch32

mengqinggang mengqinggang@loongson.cn
Tue Mar 3 11:17:53 GMT 2026


在 2026/3/3 18:02, Florian Weimer 写道:
>> LoongArch64 gcc generates call memset to fully zero-filling the struct.
>> But LoongArch32 gcc not generate call memset.
>> Maybe we can fix LoongArch32 gcc to resolve this problem.
> Are the type definitions different?


I think there is no different.


>
> I think I said so before: I recommend using a memset call for this, and
> not rely on member ordering in the type definition.
>
> Thanks,
> Florian



More information about the Libc-alpha mailing list