aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog.lto4
-rw-r--r--gcc/lto-function-out.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog.lto b/gcc/ChangeLog.lto
index 2210f99bd29..b8bd3ca346e 100644
--- a/gcc/ChangeLog.lto
+++ b/gcc/ChangeLog.lto
@@ -1,3 +1,7 @@
+2008-06-04 Rafael Espindola <espindola@google.com>
+
+ * lto-function-out.c (output_tree): call error with the TREE_CODE name.
+
2008-06-04 Ollie Wild <aaw@google.com>
* dwarf2out.c (dwarf2_called_from_lto_p): Remove.
diff --git a/gcc/lto-function-out.c b/gcc/lto-function-out.c
index 121a3c68d2f..beba935a09b 100644
--- a/gcc/lto-function-out.c
+++ b/gcc/lto-function-out.c
@@ -3216,6 +3216,7 @@ output_tree (struct output_block *ob, tree expr)
/* We cannot have forms that are not explicity handled. So when
this is triggered, there is some form that is not being
output. */
+ error ("Unimplemented code: %s", tree_code_name[code]);
gcc_unreachable ();
}
}