aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-05-22 01:24:58 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-05-22 01:24:58 +0000
commit4d49638c24e1f1e9f0f363913f20109b6829dbe7 (patch)
tree69b6c31c20c032afa0e9f344d5df590e6092d5b0 /gcc
parent5e7ccc0cc2916789b82d607c500f6313e05ce11f (diff)
downloadgcc-4d49638c24e1f1e9f0f363913f20109b6829dbe7.zip
gcc-4d49638c24e1f1e9f0f363913f20109b6829dbe7.tar.gz
gcc-4d49638c24e1f1e9f0f363913f20109b6829dbe7.tar.bz2
* expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
From-SVN: r27090
Diffstat (limited to 'gcc')
-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));