From: Mark Mitchell Date: Sat, 22 May 1999 01:24:58 +0000 (+0000) Subject: * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d49638c24e1f1e9f0f363913f20109b6829dbe7;p=gcc.git * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE. From-SVN: r27090 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 091920718e0..64403354216 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 2164ccd9d06..55e82e6622d 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));