> Let me know if you believe this is a good approach? I've ran regression > tests and this hasn't broken anything so far...
Small regression in Ada though, probably a missing guard somewhere: === gnat tests === Running target unix FAIL: gnat.dg/loop_optimization23.adb 3 blank line(s) in output FAIL: gnat.dg/loop_optimization23.adb (test for excess errors) UNRESOLVED: gnat.dg/loop_optimization23.adb compilation failed to produce execut able FAIL: gnat.dg/loop_optimization23_pkg.adb 3 blank line(s) in output FAIL: gnat.dg/loop_optimization23_pkg.adb (test for excess errors) In order to reproduce, configure the compiler with Ada enabled, build it, and copy $[srcdir)/gcc/testsuite/gnat.dg/loop_optimization23_pkg.ad[sb] into the build directory, then just issue: gcc/gnat1 -quiet loop_optimization23_pkg.adb -O2 -Igcc/ada/rts eric@fomalhaut:~/build/gcc/native> gcc/gnat1 -quiet loop_optimization23_pkg.adb -O2 -Igcc/ada/rts during GIMPLE pass: vect +===========================GNAT BUG DETECTED==============================+ | 13.0.0 20221012 (experimental) [master ca7f7c3f140] (x86_64-suse-linux) GCC error:| | in exact_div, at poly-int.h:2232 | | Error detected around loop_optimization23_pkg.adb:5:3 | | Compiling loop_optimization23_pkg.adb -- Eric Botcazou