https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865 --- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- weird: If I add -std=c++14 (or any other c++ version, including -ansi) to the command line, it works.