https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81361
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- (1) The failure reported in pr82141 does not need -O2: ada/rts% /opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/ -c g-exptty.adb raised RTSFIND.RE_NOT_AVAILABLE : rtsfind.adb:851 (2) I see similar acats failures (see https://gcc.gnu.org/ml/gcc-testresults/2017-07/msg02582.html), IMO they are due to revision r249930 ("fix" for darwin_function_switched_text_sections). (3) The "reduced" test in pr82141 compiles % /opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/ -c p.adb %