[flang-commits] [flang] [flang][OpenMP] Convert default assertion into a semantic error (PR #93438)

via flang-commits flang-commits at lists.llvm.org
Sun May 26 21:48:47 PDT 2024


NimishMishra wrote:

Another probable way of handling this crash is to let the check for directives handle whether default is indeed allowed or now. During processing of a `Name`, we silently skip processing symbols (i.e. not emit any error).

Indeed, for the linked reproducer, should we silently skip without emitting any error, at a later point, another semantic error "DEFAULT clause is not allowed on the DO directive" is emitted. 

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


More information about the flang-commits mailing list