aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-22 12:49:51 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-22 12:49:51 -0400
commitc141c40b644face621cacbae1dbf2d402cc3ee39 (patch)
tree1b01252c56db6279b295a17d01315d18f1e8ae84 /Carpet/CarpetLib
parentbe76508935cb7fd1a2fd20a2efb6878a6191cebc (diff)
CarpetLib: Use CCTK_BUILTIN_UNREACHABLE instead of __builtin_unreachable
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r--Carpet/CarpetLib/src/bbox.cc2
-rw-r--r--Carpet/CarpetLib/src/bboxset2.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/bbox.cc b/Carpet/CarpetLib/src/bbox.cc
index 63f2040e2..b4f6523f5 100644
--- a/Carpet/CarpetLib/src/bbox.cc
+++ b/Carpet/CarpetLib/src/bbox.cc
@@ -239,7 +239,7 @@ bbox<T,D> bbox<T,D>::anti_contracted_for (const bbox& b) const {
// // stride, call expanded_for, and shrink box by on stride again
// return expand(1, 1).expanded_for(b).expand(-1, -1);
// }
- // __builtin_unreachable();
+ // CCTK_BUILTIN_UNREACHABLE();
}
// Smallest bbox containing both boxes
diff --git a/Carpet/CarpetLib/src/bboxset2.hh b/Carpet/CarpetLib/src/bboxset2.hh
index 37e4829a0..bb4893db9 100644
--- a/Carpet/CarpetLib/src/bboxset2.hh
+++ b/Carpet/CarpetLib/src/bboxset2.hh
@@ -288,7 +288,7 @@ class bboxset {
},
other);
#else
- __builtin_unreachable();
+ CCTK_BUILTIN_UNREACHABLE();
#endif
assert(old_decoded_subsetr.empty());