A bug of nvfortran 26.1 regarding empty arrays

I hope the engineer fixing this bug will not limit the attention to printing. Any operations allowed by the standard on empty arrays should not trigger an error. For example,

b = b + 1.0
write(*,*) [b(i), i = 1, n]

These are standard conforming, aren’t they?

Thank you. I suppose the same engineer(s) who handled other empty-array bugs should easily locate and fix this one. I list some of them below for your reference.