aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorMichael Meissner <meissner@cygnus.com>1998-05-28 06:47:21 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1998-05-28 06:47:21 +0000
commitd05a5492a531fbee813b2f365fa68127ff445af3 (patch)
tree0c8776fc0cc09c89cb6d94bb6656b081961c734d /gcc/function.h
parentb7698cf042b922cfa0e38695ab90e441faae301e (diff)
downloadgcc-d05a5492a531fbee813b2f365fa68127ff445af3.zip
gcc-d05a5492a531fbee813b2f365fa68127ff445af3.tar.gz
gcc-d05a5492a531fbee813b2f365fa68127ff445af3.tar.bz2
Make rtx, tree types type correct if the appropriate include files was not included
From-SVN: r20114
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/function.h b/gcc/function.h
index e31f484..59a149d 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -19,11 +19,13 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef NULL_TREE
-#define tree int *
+#if !defined(NULL_TREE) && !defined(tree)
+typedef union union_node *_function_tree;
+#define tree _function_tree
#endif
-#ifndef GET_CODE
-#define rtx int *
+#if !defined(NULL_RTX) && !defined(rtx)
+typedef struct rtx_def *_function_rtx;
+#define rtx _function_rtx
#endif
struct var_refs_queue