在 2025-12-3 06:40, Andrew Pinski via Gcc 写道:
Looking into the code, and looking into how fastcall works for i686
(since replacing rargs with fastcall works there), the target hook
comp_type_attributes is needed to make sure to return false for the
attribute mismatch on the types with/without the attribute.

When `fastcall` is applied to a variadic function, it has no effect. The calling convention is always `cdecl`, and the symbol is mangled as such.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to