The problem ultimately comes down to this: we don't know what you want unless you tell us.
You say that you expected "an answer explaining why, possibly involving analysis of the generated assembly". But you didn't ask for that. You never said anything that suggested that you were aware that the code you wrote is dysfunctional and therefore that you shouldn't expect it to behave similarly on different platforms. You didn't say "this is UB, but I'm curious as to why this particular UB elicited this particular response".
You just posted the question as though you were wholly and completely ignorant of the fact that your code is broken. And thus, people answered you as such.
If you want to investigate the low-level specifics of how a particular manifestation of undefined behavior works in a specific context, that is... fine I guess. But if that's what you're asking for, you need to be very specific that this is what you want. We need to know that you are aware that this code is bad and should not be written or relied upon.
This is mainly to prevent people who don't know better from thinking that this is supposed to work, that this is some kind of defined behavior that ought to accomplish something. If you're interested in exercising your curiosity about ABIs, specific compiler implementations, and undefined behavior, that's fine. But it needs to be done in a question that makes it clear that you are deliberately exploring this domain.
In many cases, it'd be more helpful to tell the user how exactly the code behaved that way
I disagree. Most users who ask a question that looks like yours do not need to know about these things, and should not know about these things at this point in their understanding of the language. People who screw up printf
formatting are almost always new users. What they need to know is "you put the values in the wrong place, and it looked the same because you screwed up".
Giving them a 2-page long screed about assembly, ABI, and so forth that explains why that specific thing happened in one case and happened differently on a different compiler is not what most such users need to see. That may be what you're asking for, but that's why you need to be specific that you are asking for it.