aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-05 03:49:06 +0000
committerRichard Stallman <rms@gnu.org>1992-07-05 03:49:06 +0000
commit0e77444b398d3843689afa6bd40e9eaefc50af63 (patch)
tree2d457538c2863974b66f5f9e2ff7c01971eb7e87 /gcc/tree.c
parentcc9a4c0e2d68447b4360f3b419b00d17fd6028f5 (diff)
downloadgcc-0e77444b398d3843689afa6bd40e9eaefc50af63.zip
gcc-0e77444b398d3843689afa6bd40e9eaefc50af63.tar.gz
gcc-0e77444b398d3843689afa6bd40e9eaefc50af63.tar.bz2
*** empty log message ***
From-SVN: r1440
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 3d3149c..4eea2c9 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -214,6 +214,9 @@ static tree hash_table[MAX_HASH_TABLE]; /* id hash buckets */
/* 0 while creating built-in identifiers. */
static int do_identifier_warnings;
+/* Unique id for next decl created. */
+static int next_decl_uid;
+
extern char *mode_name[];
void gcc_obstack_init ();
@@ -856,6 +859,7 @@ make_node (code)
DECL_ALIGN (t) = 1;
DECL_SOURCE_LINE (t) = lineno;
DECL_SOURCE_FILE (t) = (input_filename) ? input_filename : "<built-in>";
+ DECL_UID (t) = next_decl_uid++;
break;
case 't':