https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86296
--- Comment #5 from Alexis Wilke <alexis at m2osw dot com> --- I tested again under Ubuntu 16.04 and 18.04. Most everything doesn't work right under 16.04. However, when I tested under 18.04, I got the same output as you. So I guess there were problems in 5.x that have been resolved since.