summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-18 17:53:04 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-18 17:53:04 +0000
commitb87def36106ceaeca1e71b808dacf3925afb9c7b (patch)
treec3ae46a413ca81be9f5e82070f7c0313b25dbf07 /gcc/c-common.h
parentdb3d6af1231adc9e4e50db3f58248c0bfff0eace (diff)
downloadgcc-b87def36106ceaeca1e71b808dacf3925afb9c7b.tar.gz
* c-common.h (enum c_tree_index): Add g77 type entries.
(g77_integer_type_node, g77_uinteger_type_node): New. (g77_longint_type_node, g77_ulongint_type_node): New. * c-decl.c (init_decl_processing): Initialize them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33992 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 17db8fbdc40..0d25b2a18b8 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -45,7 +45,12 @@ enum c_tree_index
CTI_VOID_FTYPE_PTR,
CTI_INT_FTYPE_INT,
CTI_PTR_FTYPE_SIZETYPE,
-
+
+ CTI_G77_INTEGER_TYPE,
+ CTI_G77_UINTEGER_TYPE,
+ CTI_G77_LONGINT_TYPE,
+ CTI_G77_ULONGINT_TYPE,
+
CTI_MAX
};
@@ -74,6 +79,12 @@ extern tree c_global_trees[CTI_MAX];
#define int_ftype_int c_global_trees[CTI_INT_FTYPE_INT]
#define ptr_ftype_sizetype c_global_trees[CTI_PTR_FTYPE_SIZETYPE]
+/* g77 integer types, which which must be kept in sync with f/com.h */
+#define g77_integer_type_node c_global_trees[CTI_G77_INTEGER_TYPE]
+#define g77_uinteger_type_node c_global_trees[CTI_G77_UINTEGER_TYPE]
+#define g77_longint_type_node c_global_trees[CTI_G77_LONGINT_TYPE]
+#define g77_ulongint_type_node c_global_trees[CTI_G77_ULONGINT_TYPE]
+
/* Pointer to function to generate the VAR_DECL for __FUNCTION__ etc.
ID is the identifier to use, NAME is the string.
TYPE_DEP indicates whether it depends on type of the function or not