Title: [292841] trunk/Source/_javascript_Core
- Revision
- 292841
- Author
- commit-qu...@webkit.org
- Date
- 2022-04-13 16:14:10 -0700 (Wed, 13 Apr 2022)
Log Message
GCC 12 -Wdangling-pointer warning spam from AbstractSlotVisitorInlines.h
https://bugs.webkit.org/show_bug.cgi?id=239299
Patch by Michael Catanzaro <mcatanz...@redhat.com> on 2022-04-13
Reviewed by Mark Lam.
Suppress this warning, so we can see other warnings.
* heap/AbstractSlotVisitorInlines.h:
(JSC::AbstractSlotVisitor::ReferrerContext::ReferrerContext):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (292840 => 292841)
--- trunk/Source/_javascript_Core/ChangeLog 2022-04-13 22:55:26 UTC (rev 292840)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-04-13 23:14:10 UTC (rev 292841)
@@ -1,5 +1,17 @@
2022-04-13 Michael Catanzaro <mcatanz...@redhat.com>
+ GCC 12 -Wdangling-pointer warning spam from AbstractSlotVisitorInlines.h
+ https://bugs.webkit.org/show_bug.cgi?id=239299
+
+ Reviewed by Mark Lam.
+
+ Suppress this warning, so we can see other warnings.
+
+ * heap/AbstractSlotVisitorInlines.h:
+ (JSC::AbstractSlotVisitor::ReferrerContext::ReferrerContext):
+
+2022-04-13 Michael Catanzaro <mcatanz...@redhat.com>
+
Misc compiler warnings, April 2022 edition
https://bugs.webkit.org/show_bug.cgi?id=239290
Modified: trunk/Source/_javascript_Core/heap/AbstractSlotVisitorInlines.h (292840 => 292841)
--- trunk/Source/_javascript_Core/heap/AbstractSlotVisitorInlines.h 2022-04-13 22:55:26 UTC (rev 292840)
+++ trunk/Source/_javascript_Core/heap/AbstractSlotVisitorInlines.h 2022-04-13 23:14:10 UTC (rev 292841)
@@ -74,7 +74,9 @@
// An OpaqueRoot contexts can only be on the leaf.
RELEASE_ASSERT(!m_previous->m_isOpaqueRootContext);
}
+IGNORE_GCC_WARNINGS_BEGIN("dangling-pointer")
m_visitor.m_context = this;
+IGNORE_GCC_WARNINGS_END
}
inline AbstractSlotVisitor::ReferrerContext::ReferrerContext(AbstractSlotVisitor& visitor, AbstractSlotVisitor::OpaqueRootTag)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes