[flang-commits] [flang] [llvm] [mlir] [flang][OpenMP] Implement the error directive (PR #206175)
Caroline Newcombe via flang-commits
flang-commits at lists.llvm.org
Tue Jun 30 07:35:40 PDT 2026
================
@@ -1,5 +1,11 @@
! RUN: %flang_fc1 -fopenmp-version=51 -fopenmp -fdebug-unparse %s 2>&1 | FileCheck %s
! RUN: %flang_fc1 -fopenmp-version=51 -fopenmp -fdebug-dump-parse-tree %s 2>&1 | FileCheck %s --check-prefix="PARSE-TREE"
+
+! The AT(COMPILATION) form emits its diagnostic during semantics, so SEVERITY(FATAL)
+! would halt compilation before any unparse/parse-tree output is produced. Only
----------------
cenewcombe wrote:
Thanks, I made the change and added the `fatal` test condition back.
https://github.com/llvm/llvm-project/pull/206175
More information about the flang-commits
mailing list