]> gcc.gnu.org Git - gcc.git/commitdiff
Make rtx, tree types type correct if the appropriate include files was not included
authorMichael Meissner <meissner@cygnus.com>
Thu, 28 May 1998 06:47:21 +0000 (06:47 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Thu, 28 May 1998 06:47:21 +0000 (06:47 +0000)
From-SVN: r20114

gcc/ChangeLog
gcc/Makefile.in
gcc/c-pragma.c
gcc/except.h
gcc/function.h
gcc/stor-layout.c

index 6a45514c4b985f202ae0738b49b758d6da5fb17a..c3069118519571c6e1cdd6b6ca054f81f4f6c0d6 100644 (file)
@@ -1,3 +1,17 @@
+Thu May 28 09:36:39 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * except.h (rtx): Define rtx type correctly if needed.
+       * function.h (rtx): Ditto.
+       (tree): Define tree type correctly if needed.
+
+       * c-pragma.c (toplevel): Include rtl.h.
+
+       * stor-layout.c (toplevel): Move include of rtl.h before
+       except.h.
+
+       * Makefile.in (c-pragma.o): Add except.h, rtl.h dependencies.
+       (tree.o): Add except.h dependency.
+       
 Wed May 27 22:02:40 1998  Jeffrey A Law  (law@cygnus.com)
 
        * reload1.c: Revert accidental checkin.
index 2afcc225419c4bbf02c98b58ecc2ec5c5e141472..7d9ef0ec0534b0976a072a68555238a0452b4844 100644 (file)
@@ -1259,8 +1259,8 @@ c-lex.o : c-lex.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) c-lex.h c-tree.h \
     toplev.h output.h
 c-aux-info.o : c-aux-info.c  $(CONFIG_H) system.h $(TREE_H) c-tree.h flags.h
 c-convert.o : c-convert.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h
-c-pragma.o: c-pragma.c $(CONFIG_H) system.h $(TREE_H) except.h function.h \
-    defaults.h c-pragma.h toplev.h
+c-pragma.o: c-pragma.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) except.h \
+    function.h defaults.h c-pragma.h toplev.h
 c-iterate.o: c-iterate.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) c-tree.h \
     flags.h toplev.h 
 
@@ -1341,7 +1341,7 @@ prefix.o: prefix.c $(CONFIG_H) system.h gansidecl.h Makefile
 
 convert.o: convert.c $(CONFIG_H) $(TREE_H) flags.h convert.h toplev.h
 
-tree.o : tree.c $(CONFIG_H) system.h $(TREE_H) flags.h function.h toplev.h
+tree.o : tree.c $(CONFIG_H) system.h $(TREE_H) flags.h function.h toplev.h except.h
 print-tree.o : print-tree.c $(CONFIG_H) system.h $(TREE_H)
 stor-layout.o : stor-layout.c $(CONFIG_H) system.h $(TREE_H) flags.h \
    function.h expr.h insn-codes.h $(RTL_H) toplev.h except.h
index 270cd20c57229e80ba0ac5d85d3a013124df9101..3d01925a4bde7b510a789ec46aea275098d0a0c8 100644 (file)
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
 #include "system.h"
+#include "rtl.h"
 #include "tree.h"
 #include "except.h"
 #include "function.h"
index 4917ab709bc4e163e0539f3450fa77ac0a725adf..b96399e91164b90e5109929f7457d9d388b44fa2 100644 (file)
@@ -19,9 +19,9 @@ along with GNU CC; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-
-#ifndef GET_CODE
-#define rtx int *
+#if !defined(NULL_RTX) && !defined(rtx)
+typedef struct rtx_def *_except_rtx;
+#define rtx _except_rtx
 #endif
 
 #ifdef TREE_CODE
@@ -388,3 +388,7 @@ rtx expand_builtin_dwarf_reg_size   PROTO((tree, rtx));
 int in_same_eh_region                   PROTO((rtx, rtx));
 void free_insn_eh_region                PROTO((void));
 void init_insn_eh_region                PROTO((rtx, int));
+
+#ifdef rtx
+#undef rtx
+#endif
index e31f48416745ee36af8e80fb8e7c0f62c549c9d7..59a149d448164dfa6855fac2f272374f31b2c5a0 100644 (file)
@@ -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
index 77561c97b886b73746d6b15c2d4657d2a787909d..043ad286be3f7217e3dfffbb071bb963655c378d 100644 (file)
@@ -23,10 +23,10 @@ Boston, MA 02111-1307, USA.  */
 #include "system.h"
 
 #include "tree.h"
+#include "rtl.h"
 #include "flags.h"
 #include "except.h"
 #include "function.h"
-#include "rtl.h"
 #include "expr.h"
 #include "toplev.h"
 
This page took 0.075359 seconds and 5 git commands to generate.