[flang-commits] [flang] [flang] Fix crash on PARAMETER attribute applied to POINTER (PR #194885)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Fri May 1 07:48:11 PDT 2026


================
@@ -0,0 +1,10 @@
+!RUN: %python %S/test_errors.py %s %flang_fc1
+
+! Test that POINTER with PARAMETER doesn't crash.
+
+subroutine s1
----------------
eugeneepshteyn wrote:

Let's also add something like this (with typed pointer):
```
subroutine s2
  integer, pointer :: b
  parameter(b=3)
end subroutine
```

https://github.com/llvm/llvm-project/pull/194885


More information about the flang-commits mailing list