[PATCH] D78424: [flang] Added Semantic Checks for 2 Data constraints and fixed the semantic errors in 3 test cases
Peter Klausler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 24 16:49:10 PDT 2020
klausler added inline comments.
================
Comment at: flang/lib/Semantics/check-data.cpp:58
+ context_.Say(designator.source,
+ "Data object part '%s' must not be in a named COMMON block outside a BLOCK DATA program unit"_err_en_US,
+ symbol.name().ToString());
----------------
Every serious production Fortran compiler allows DATA initialization of COMMON in any subprogram;. Ignore the standard here, or change the error into a warning message.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78424/new/
https://reviews.llvm.org/D78424
More information about the llvm-commits
mailing list