Hi Jerry,

Jerry D wrote:
Regression tested on x86_64.
             * resolve.cc (check_default_none_expr): Do not allow an
             iterator in a locality spec.

Shouldn't be there a testcase for this? I see one for the other issue, namely ...

Allow a named constant to be
             used within the loop.

     gcc/testsuite/ChangeLog:
             * gfortran.dg/pr122513.f90: New test.

has this testcase.

I think the one of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122513#c7 with the message you show in comment 8 will work.

Thanks otherwise to you for packaging, to Steve for the patch, to Alexander for the report and Harald for the patch review.

Tobias

Reply via email to