Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
0e77444b
Commit
0e77444b
authored
Jul 05, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1440
parent
cc9a4c0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
gcc/tree.c
+4
-0
gcc/tree.h
+6
-0
No files found.
gcc/tree.c
View file @
0e77444b
...
@@ -214,6 +214,9 @@ static tree hash_table[MAX_HASH_TABLE]; /* id hash buckets */
...
@@ -214,6 +214,9 @@ static tree hash_table[MAX_HASH_TABLE]; /* id hash buckets */
/* 0 while creating built-in identifiers. */
/* 0 while creating built-in identifiers. */
static
int
do_identifier_warnings
;
static
int
do_identifier_warnings
;
/* Unique id for next decl created. */
static
int
next_decl_uid
;
extern
char
*
mode_name
[];
extern
char
*
mode_name
[];
void
gcc_obstack_init
();
void
gcc_obstack_init
();
...
@@ -856,6 +859,7 @@ make_node (code)
...
@@ -856,6 +859,7 @@ make_node (code)
DECL_ALIGN
(
t
)
=
1
;
DECL_ALIGN
(
t
)
=
1
;
DECL_SOURCE_LINE
(
t
)
=
lineno
;
DECL_SOURCE_LINE
(
t
)
=
lineno
;
DECL_SOURCE_FILE
(
t
)
=
(
input_filename
)
?
input_filename
:
"<built-in>"
;
DECL_SOURCE_FILE
(
t
)
=
(
input_filename
)
?
input_filename
:
"<built-in>"
;
DECL_UID
(
t
)
=
next_decl_uid
++
;
break
;
break
;
case
't'
:
case
't'
:
...
...
gcc/tree.h
View file @
0e77444b
...
@@ -708,6 +708,9 @@ struct tree_type
...
@@ -708,6 +708,9 @@ struct tree_type
writing debugging information about vfield and vbase decls for C++. */
writing debugging information about vfield and vbase decls for C++. */
#define DECL_FCONTEXT(NODE) ((NODE)->decl.vindex)
#define DECL_FCONTEXT(NODE) ((NODE)->decl.vindex)
/* Every ..._DECL node gets a unique number. */
#define DECL_UID(NODE) ((NODE)->decl.uid)
/* Nonzero in a VAR_DECL or PARM_DECL means this decl was made by inlining;
/* Nonzero in a VAR_DECL or PARM_DECL means this decl was made by inlining;
suppress any warnings about shadowing some other variable. */
suppress any warnings about shadowing some other variable. */
#define DECL_FROM_INLINE(NODE) ((NODE)->decl.from_inline_flag)
#define DECL_FROM_INLINE(NODE) ((NODE)->decl.from_inline_flag)
...
@@ -777,6 +780,7 @@ struct tree_decl
...
@@ -777,6 +780,7 @@ struct tree_decl
char
*
filename
;
char
*
filename
;
int
linenum
;
int
linenum
;
union
tree_node
*
size
;
union
tree_node
*
size
;
unsigned
int
uid
;
#ifdef ONLY_INT_FIELDS
#ifdef ONLY_INT_FIELDS
int
mode
:
8
;
int
mode
:
8
;
#else
#else
...
@@ -856,6 +860,7 @@ extern char *oballoc ();
...
@@ -856,6 +860,7 @@ extern char *oballoc ();
extern
char
*
permalloc
();
extern
char
*
permalloc
();
extern
char
*
savealloc
();
extern
char
*
savealloc
();
extern
char
*
xmalloc
();
extern
char
*
xmalloc
();
extern
char
*
xrealloc
();
extern
void
free
();
extern
void
free
();
/* Lowest level primitive for allocating a node.
/* Lowest level primitive for allocating a node.
...
@@ -971,6 +976,7 @@ extern tree non_lvalue ();
...
@@ -971,6 +976,7 @@ extern tree non_lvalue ();
extern
tree
convert
();
extern
tree
convert
();
extern
tree
size_in_bytes
();
extern
tree
size_in_bytes
();
extern
int
int_size_in_bytes
();
extern
tree
size_binop
();
extern
tree
size_binop
();
extern
tree
size_int
();
extern
tree
size_int
();
extern
tree
round_up
();
extern
tree
round_up
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment