https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77620
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to petschy from comment #2) > Thanks, --enable-checking=release did the trick. Those unreleased checks > definitely have some runtime cost :) Yes in some cases there are O(n^2) checking functions which hurt compile time. Plus running more and more checking hurts cache locality too.