https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077

--- Comment #66 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue re-appears with GCC 6, the workaround doing
--enable-stage1-checking=release still works.

Note that the comparison we do with LTO bootstrap is quite pointless as we
only compile the internal IL at LTO streaming time but not the final result
of optimization.  For that we'd need to compare cc1, cc1plus, etc. itself.

So a fix would be to make the comparison configurable to a tri-stage
{ object-files, binaries, off } where a boostrap with comparison off
can also omit building stage3 but still get the benefit of building
GCC with itself and not the host compiler.

Comparing the binaries is generally slower of course.

Reply via email to