https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I am not seeing anything wrong with the difference even. What if you change printf for a different function which still takes a variable arguments but does nothing (in a different TU)? Does it still fail? I can only think printf is miscompiled somehow ...