[llvm] [flang-rt][build] Disable two build-time warning of '-Wmaybe-uninitialized' from g++ compiler (PR #174917)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 23 02:14:43 PST 2026
Meinersbur wrote:
> Could you add a comment describing what the pragma is for?
E.g. like
https://github.com/llvm/llvm-project/blob/fed07a9649802731943732ab61a5cef69b8ffbf9/flang-rt/include/flang-rt/runtime/terminator.h#L40-L50
Without a such a comment, and the GCC false positive evantually fixed, it will be difficult to determine whether those pragmas are still necessary.
As described in one of the other PRs, this will also suppress Clang warnings.
https://github.com/llvm/llvm-project/pull/174917
More information about the llvm-commits
mailing list