summaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-28 06:47:21 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-28 06:47:21 +0000
commitbd3b10888bb2aaa30742b85acb9fdd5ccdb3ead2 (patch)
tree0c8776fc0cc09c89cb6d94bb6656b081961c734d /gcc/except.h
parentef5a592cbaa771b40ec530a714293dd8a4c11b07 (diff)
downloadgcc-bd3b10888bb2aaa30742b85acb9fdd5ccdb3ead2.tar.gz
Make rtx, tree types type correct if the appropriate include files was not included
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/except.h b/gcc/except.h
index 4917ab709bc..b96399e9116 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -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