https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77816
--- Comment #7 from ktkachov at gcc dot gnu.org --- (In reply to Bernd Edlinger from comment #6) > (In reply to ktkachov from comment #4) > > I can't reproduce the fortran failures with a clean trunk at r240705 > > configured with --enable-languages=c,c++,fortran --disable-bootstrap > > --disable-werror --enable-plugins --enable-gnu-indirect-function > > > > I don't have access to an environment that allows me to bootstrap Ada. > > I'll revert the patch while I investigate > > Kyrill, > > this may have nothing to do with this, > but I wonder if this is correct, > to do the ~ and - in HOST_WIDE_INT > instead of the target mode of the computation: > > if (eq_side_val == ~cstval) > op_code = NOT > else if (eq_side_val != HOST_WIDE_INT_MIN && (cstval == -eq_side_val)) > op_code = NEG; > > > Regarding the Ada, you can boot-strap Ada from a PC to your target. > you first have to full bootstrap on a PC with working gcc/Ada, > > then using that a cross with --target=aarch64... > then using that a canadian-cross with --host=aarch64 --target=aarch64 > > the result should run on your target, and allow a full bootstrap > with Ada. > > I have done that for arm, but aarch64 should not be different. Thanks for the advice Bernd