aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.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/except.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/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 4917ab7..b96399e 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