在 2025-02-06 21:23, Martin Storsjö 写道:
I was bitten by Clang's `__asm__` before so I don't really recommend it unless we know for sure that optimization is safe.

Oh - specifically around __asm__ for redirecting functions to a specific symbol, or for inline assembly? (We do rely on __asm__ for function redirects a fair bit in the headers, for stdio function redirects already.)


It's like this:  https://gcc.godbolt.org/z/EGWovGo3P

Clang attempts to inline the target function which leads to infinite recursion.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to