https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98108
--- Comment #8 from i.hamsa at gmail dot com --- After re-reading the relevant parts of the standard, I have convinced myself that the program is indeed not required to work unless <iostreams> is included, even in a single-threaded version. Even though the standard encourages implementations to initialise the standard iostreams objects earlier than required, it is not mandatory.