https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78735
--- Comment #1 from Franz Sirl <sirl at gcc dot gnu.org> --- Can be worked around by bootstrapping with --disable-werror. Last reconfirmed with trunk r246380. Trunk is at 7.0.1, so --disable-werror is the default right now. I guess the only real question is if the profile-based optimization is doing the right thing here.