On 11/3/25 12:21 PM, Harald Anlauf wrote:
Am 03.11.25 um 21:02 schrieb Jerry D:
The attached patch from Steve fixes this.

Regression tested on x86_64.

OK for trunk?

Regards,

Jerry

commit e7096708b2e4c8ca40c50537f1d227e15a89bc2d
Author: Steve Kargl <[email protected]>
Date:   Mon Nov 3 11:47:54 2025 -0800

      Fortran: Fix check on locality spec DO CONCURRENT

              PR fortran/122513

      gcc/fortran/ChangeLog:

              * resolve.cc (check_default_none_expr): Do not allow an
              iterator in a locality spec. Allow a named constant to be
              used within the loop.

      gcc/testsuite/ChangeLog:

              * gfortran.dg/pr122513.f90: New test.

Hi Jerry,

this is OK for trunk.

Thanks for the patch!

Harald


Pushed:

commit ffe538c831daeb72d935fb7fd796b6ce4a13c820 (HEAD -> master, origin/master, origin/HEAD)
Author: Steve Kargl <[email protected]>
Date:   Mon Nov 3 11:47:54 2025 -0800

    Fortran: Fix check on locality spec DO CONCURRENT

            PR fortran/122513

Reply via email to