Bug in identical code folding?
LIU Hao
lh_mouse@126.com
Wed Dec 3 03:22:18 GMT 2025
在 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20251203/cd5e020b/attachment-0001.sig>
More information about the Gcc
mailing list