Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: [flang] Warn when F128 is unsupported
This generates `warning: REAL(KIND=16) is not an enabled type for this target` if that type is used in a build not correctly configured to support this type. Uses of `selected_real_kind(30)` return -1. The added braces to the previous if statement are so that clang-format does not try to indent the new comment. Even if the clang-format off directive is moved to the start, that comment still gets indented so it looks weird. I chose to disable clang-format for the preprocessor block to allow the nested if statement to be indented for clarity. Note: some lit tests will fail on systems not configured to support f128. I'll update them once we are settled on what the right error message is.
- Loading branch information