[flang-commits] [flang] [flang] Allow use of COMMON in PURE (PR #76741)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Tue Jan 2 14:33:00 PST 2024


================
@@ -109,10 +109,6 @@ pure subroutine s05 ! C1589
     !ERROR: A pure subprogram may not initialize a variable
     real :: v3
     data v3/0./
-    !ERROR: A pure subprogram may not have a variable with the SAVE attribute
-    real :: v4
-    common /blk/ v4
----------------
klausler wrote:

Done.

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


More information about the flang-commits mailing list