aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/expr.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0919207..6440335 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
+
+ * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
+
Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (output_mi_thunk): Enable full support again.
diff --git a/gcc/expr.h b/gcc/expr.h
index 2164ccd..55e82e6 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -1015,11 +1015,13 @@ extern rtx (*lang_expand_expr) PROTO ((union tree_node *, rtx,
enum machine_mode,
enum expand_modifier modifier));
+#ifdef TREE_CODE
/* Hook called by output_constant for language-specific tree codes.
It is up to the language front-end to install a hook if it has any
such codes that output_constant needs to know about. Returns a
language-independent constant equivalent to its input. */
-extern union tree_node * (*lang_expand_constant) PROTO((tree));
+extern tree (*lang_expand_constant) PROTO((tree));
+#endif
extern void init_all_optabs PROTO ((void));
extern void init_mov_optab PROTO ((void));