GCC 6 bug appears to be not a bug at all