aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-lang.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-lang.cc')
-rw-r--r--gcc/rust/rust-lang.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc
index 4bf82d0..886710b 100644
--- a/gcc/rust/rust-lang.cc
+++ b/gcc/rust/rust-lang.cc
@@ -250,7 +250,7 @@ grs_langhook_type_for_mode (machine_mode mode, int unsignedp)
return (unsignedp ? int_n_trees[i].unsigned_type
: int_n_trees[i].signed_type);
- /* gcc_unreachable */
+ /* rust_unreachable */
return NULL;
}
@@ -267,7 +267,7 @@ static bool
grs_langhook_global_bindings_p (void)
{
// return current_function_decl == NULL_TREE;
- // gcc_unreachable();
+ // rust_unreachable();
// return true;
return false;
}
@@ -281,7 +281,7 @@ grs_langhook_global_bindings_p (void)
static tree
grs_langhook_pushdecl (tree decl ATTRIBUTE_UNUSED)
{
- gcc_unreachable ();
+ rust_unreachable ();
return NULL;
}
@@ -291,7 +291,7 @@ grs_langhook_pushdecl (tree decl ATTRIBUTE_UNUSED)
static tree
grs_langhook_getdecls (void)
{
- // gcc_unreachable();
+ // rust_unreachable();
return NULL;
}
@@ -380,7 +380,7 @@ convert (tree type, tree expr)
break;
}
- gcc_unreachable ();
+ rust_unreachable ();
}
/* FIXME: This is a hack to preserve trees that we create from the