[flang-commits] [flang] [Flang][OpenMP] Fix compilation error when a line with Fixed Source Form Conditional Compilation Sentinels is a continuation line (PR #70309)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Thu Oct 26 10:42:21 PDT 2023


luporl wrote:

My understanding is that the OpenMP (5.2) specification allows Fixed Source Form Conditional Compilation Sentinels (i.e., `!$`, `*$`, `c$`) in continuation lines, even if there was no sentinel in the initial line, according to item 3.3.1 of the spec.
But it doesn't allow Fixed Source Form Directives (e.g., `!$omp parallel`) in continuation lines, according to 3.1:
> Directives cannot be embedded within continued statements, and statements cannot be embedded within directives.

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


More information about the flang-commits mailing list