When compiling the following Fortran code, flang crashes with a CHECK(!IsPointer(symbol)) assertion failure instead of emitting a diagnostic for the invalid combination of POINTER and PARAMETER attributes.
subroutine a7
pointer A
parameter (A=3)
end subroutine
When compiling the following Fortran code, flang crashes with a
CHECK(!IsPointer(symbol))assertion failure instead of emitting a diagnostic for the invalid combination of POINTER and PARAMETER attributes.