[flang-commits] [PATCH] D122037: [flang] Convert RUNTIME_CHECK to better error for user errors in transformational.cpp
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Fri Mar 18 13:46:44 PDT 2022
klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.
In flang/runtime/transformational.cpp, there are many RUNTIME_CHECK assertions
for errors that should have been caught in semantics, but there are alno others
that signify program errors that in principle cannot be detected until
execution. Convert this second group into readable fatal error messages.
Also clean up some missing braces and incorrect printf formats found
along the way.
https://reviews.llvm.org/D122037
Files:
flang/runtime/transformational.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122037.416600.patch
Type: text/x-patch
Size: 9800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220318/006d7c74/attachment.bin>
More information about the flang-commits
mailing list