summaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/runtime.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/gofrontend/runtime.def')
-rw-r--r--gcc/go/gofrontend/runtime.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/runtime.def b/gcc/go/gofrontend/runtime.def
index 6df53498d72..ef148eec9b0 100644
--- a/gcc/go/gofrontend/runtime.def
+++ b/gcc/go/gofrontend/runtime.def
@@ -363,6 +363,9 @@ DEF_GO_RUNTIME(PRINTNL, "runtime.printnl", P0(), R0())
DEF_GO_RUNTIME(FIELDTRACK, "__go_fieldtrack", P1(POINTER), R0())
+// Unreachable code.
+DEF_GO_RUNTIME(UNREACHABLE, "__builtin_unreachable", P0(), R0())
+
// Remove helper macros.
#undef ABFT6
#undef ABFT2