http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58063
--- Comment #3 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- (In reply to Paolo Carlini from comment #2) > I suppose a minimal reproducer could involve a file scope static of some > sort... I'm a bit confused by your reply, Paolo: Isn't my_cout also a "file scope static"? (Even, if I declare it to have static linkage, it still behaves differently compared to std::cout)