From 351ff3df3b4e1424142dbc338256bf8fd55c1850 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Wed, 13 Mar 2024 14:58:34 -0700 Subject: [PATCH] Cave in and just add the unreachable's gcc wants --- ConflictSet.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 0cf6134..1ce1b16 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -474,6 +474,7 @@ Node *&getChildExists(Node *self, uint8_t index) { return self256->children[index].child; } } + __builtin_unreachable(); // GCOVR_EXCL_LINE } // Precondition - an entry for index must exist in the node @@ -505,6 +506,7 @@ Node *getChild(Node *self, uint8_t index) { return self256->children[index].child; } } + __builtin_unreachable(); // GCOVR_EXCL_LINE } template int getChildGeqSimd(NodeT *self, int child) { @@ -584,6 +586,7 @@ int getChildGeq(Node *self, int child) { return self48->bitSet.firstSetGeq(child); } } + __builtin_unreachable(); // GCOVR_EXCL_LINE } void setChildrenParents(Node3 *n) { @@ -776,6 +779,7 @@ Node *&getOrCreateChild(Node *&self, uint8_t index, return self256->children[index].child; } } + __builtin_unreachable(); // GCOVR_EXCL_LINE } Node *nextPhysical(Node *node) { @@ -2344,6 +2348,7 @@ int64_t &maxVersion(Node *n, ConflictSet::Impl *impl) { return n256->children[index].childMaxVersion; } } + __builtin_unreachable(); // GCOVR_EXCL_LINE } Node *&getInTree(Node *n, ConflictSet::Impl *impl) {