https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121316
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Eric Botcazou <[email protected]>: https://gcc.gnu.org/g:8a9f2bd7abb21d12df688bf250e1f30491adbb1f commit r15-10760-g8a9f2bd7abb21d12df688bf250e1f30491adbb1f Author: Eric Botcazou <[email protected]> Date: Sun Feb 1 20:18:41 2026 +0100 Ada: Fix iterator filter ignored on enumeration type with clause The problem comes from an oversight in Expand_N_Loop_Statement. gcc/ada/ PR ada/121316 * exp_ch5.adb (Expand_Iterator_Loop_Over_Array): Minor tweak. (Expand_Iterator_Loop_Over_Container): Likewise. (Expand_N_Loop_Statement): Use Statements (N) throughout. gcc/testsuite/ * gnat.dg/iter7.adb: New test. Co-authored-by: Liam Powell <[email protected]>
