From 56f0f5771eb79aeac0fd2755fdb8d80bb7106b9e Mon Sep 17 00:00:00 2001 From: mmitchel Date: Sat, 22 May 1999 01:24:58 +0000 Subject: [PATCH] * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27090 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/expr.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE. + Fri May 21 21:19:02 1999 Franz Sirl * 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)); -- 2.7.4