flang-compiler / f18

F18 is a front-end for Fortran intended to replace the existing front-end in the Flang compiler
229 stars 48 forks source link

Fix bug #931: spurious error reported on CSHIFT #932

Closed klausler closed 4 years ago

klausler commented 4 years ago

The SHIFT argument to the CSHIFT intrinsic function (and some related arguments to other intrinsics) is allowed to be an array in the absence of the optional DIM= argument; I was incorrectly emitting an error message in this case if it were not scalar.