https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86384
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- And please stop reporting bugs for 8.0.1 -- that's an unsupported pre-release build that could be from any time between January and April. Use 8.1.0 or trunk.