aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
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/expr.h
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/expr.h')
-rw-r--r--gcc/expr.h4
1 files changed, 3 insertions, 1 deletions
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));