https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828
--- Comment #4 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #3) > Are you saying the warning shows up which causes the bootstrap to fail? > Because at runtime there should be no out of bounds access. Yes. It is just the warning. With an unknown value of d->vpath[i].len GCC cannot determine what the outcome of the / check will be: const char *p = t + d->vpath[i].len; if (!IS_DIR_SEPARATOR (*p)) goto not_this_one;