summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2009-07-19 17:13:16 +0000
committerBruce M Simpson <bms@FreeBSD.org>2009-07-19 17:13:16 +0000
commite8ded5e4204cebf9eb7d69f537bef0c4f2c9512a (patch)
tree1bac53e4cc647370db20cdfcf12246232b6c0fc1 /contrib
parentcb5ccf98ee89975031c81a5d067f71cb28ac14d9 (diff)
Notes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/dwarf2out.c b/contrib/gcc/dwarf2out.c
index 18ea2ad4b5d8..30bb90f1b5b9 100644
--- a/contrib/gcc/dwarf2out.c
+++ b/contrib/gcc/dwarf2out.c
@@ -10007,7 +10007,7 @@ reference_to_unused (tree * tp, int * walk_subtrees,
return NULL_TREE;
else if (!cgraph_global_info_ready
&& (TREE_CODE (*tp) == VAR_DECL || TREE_CODE (*tp) == FUNCTION_DECL))
- return *tp;
+ gcc_unreachable ();
else if (DECL_P (*tp) && TREE_CODE (*tp) == VAR_DECL)
{
struct cgraph_varpool_node *node = cgraph_varpool_node (*tp);