On 07/12/2021 21:43, Harald Anlauf via Fortran wrote:
I haven't figured out yet how to kill or fix the array decl in
that case.

As long as an error is reported, and the compiler doesn’t crash after it, I’m not sure there is something more to fix.

Nevertheless it makes sense to catch situations in
do_subscript where we end up with illegal types of the bounds.
This is trivially done by the attached patch.
 > Regtested on x86_64-pc-linux-gnu.  OK for mainline/backports?

Yes.

Reply via email to