On 2/16/25 12:41, Richard Henderson wrote:
I don't think this is a good change to make.
fixing varargs codegen in GCC/Clang would be a good change. count
based varargs can be reasoned about statically relatively easily. what
is it like with an explicit inline as opposed to just static?
Inline will still be rejected.
oh wow. fair enough. I didn't know varargs was so broken. Clang even
appears to be emitting weird extern functions with inline varargs that
change when another invocation is added. taking away inline fixes it.
this is unusual and I think this is a Clang compiler bug. flip the #if.
code seems to be conforming or is it a bug? might post to Clang folks.
https://godbolt.org/z/WsEPfdfbE