We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
maybe-uninitialized
1 parent 6b623be commit 3af8c4fCopy full SHA for 3af8c4f
src/vt/collective/reduce/scoping/strong_types.h
@@ -101,7 +101,12 @@ struct TagPair {
101
}
102
103
TagType first() const { return t1_; }
104
+#pragma GCC diagnostic push // ignore gcc-13 false positive
105
+#ifndef __clang__ // clang does not recognize "-Wmaybe-uninitialized"
106
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
107
+#endif
108
TagType second() const { return t2_; }
109
+#pragma GCC diagnostic pop
110
111
private:
112
TagType t1_ = no_tag;
0 commit comments