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
3110a56e
Commit
3110a56e
authored
Jul 07, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1490
parent
0c20aabf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
gcc/print-tree.c
+4
-0
gcc/tree.c
+2
-0
gcc/tree.h
+8
-0
No files found.
gcc/print-tree.c
View file @
3110a56e
...
@@ -287,6 +287,8 @@ print_node (file, prefix, node, indent)
...
@@ -287,6 +287,8 @@ print_node (file, prefix, node, indent)
fputs
(
" asm_written"
,
file
);
fputs
(
" asm_written"
,
file
);
if
(
TREE_USED
(
node
))
if
(
TREE_USED
(
node
))
fputs
(
" used"
,
file
);
fputs
(
" used"
,
file
);
if
(
TREE_RAISES
(
node
))
fputs
(
" raises"
,
file
);
if
(
TREE_PERMANENT
(
node
))
if
(
TREE_PERMANENT
(
node
))
fputs
(
" permanent"
,
file
);
fputs
(
" permanent"
,
file
);
if
(
TREE_PUBLIC
(
node
))
if
(
TREE_PUBLIC
(
node
))
...
@@ -331,6 +333,8 @@ print_node (file, prefix, node, indent)
...
@@ -331,6 +333,8 @@ print_node (file, prefix, node, indent)
fputs
(
" from_inline"
,
file
);
fputs
(
" from_inline"
,
file
);
if
(
DECL_IGNORED_P
(
node
))
if
(
DECL_IGNORED_P
(
node
))
fputs
(
" ignored"
,
file
);
fputs
(
" ignored"
,
file
);
if
(
DECL_IN_SYSTEM_HEADER
(
node
))
fputs
(
" in_system_header"
,
file
);
if
(
DECL_LANG_FLAG_0
(
node
))
if
(
DECL_LANG_FLAG_0
(
node
))
fputs
(
" decl_0"
,
file
);
fputs
(
" decl_0"
,
file
);
if
(
DECL_LANG_FLAG_1
(
node
))
if
(
DECL_LANG_FLAG_1
(
node
))
...
...
gcc/tree.c
View file @
3110a56e
...
@@ -856,6 +856,8 @@ make_node (code)
...
@@ -856,6 +856,8 @@ make_node (code)
case
'd'
:
case
'd'
:
if
(
code
!=
FUNCTION_DECL
)
if
(
code
!=
FUNCTION_DECL
)
DECL_IN_SYSTEM_HEADER
(
t
)
=
in_system_header
&&
(
obstack
==
&
permanent_obstack
);
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>"
;
...
...
gcc/tree.h
View file @
3110a56e
...
@@ -733,6 +733,11 @@ struct tree_type
...
@@ -733,6 +733,11 @@ struct tree_type
for symbolic debug purposes. */
for symbolic debug purposes. */
#define DECL_IGNORED_P(NODE) ((NODE)->decl.ignored_flag)
#define DECL_IGNORED_P(NODE) ((NODE)->decl.ignored_flag)
/* Nonzero if a _DECL means that no warnings should be generated just
because this decl is unused. */
#define DECL_IN_SYSTEM_HEADER(NODE) ((NODE)->decl.in_system_header_flag)
/* Language-specific decl information. */
#define DECL_LANG_SPECIFIC(NODE) ((NODE)->decl.lang_specific)
#define DECL_LANG_SPECIFIC(NODE) ((NODE)->decl.lang_specific)
/* In a VAR_DECL or FUNCTION_DECL,
/* In a VAR_DECL or FUNCTION_DECL,
...
@@ -810,6 +815,9 @@ struct tree_decl
...
@@ -810,6 +815,9 @@ struct tree_decl
unsigned
from_inline_flag
:
1
;
unsigned
from_inline_flag
:
1
;
unsigned
ignored_flag
:
1
;
unsigned
ignored_flag
:
1
;
unsigned
in_system_header_flag
:
1
;
/* room for seven more */
unsigned
lang_flag_0
:
1
;
unsigned
lang_flag_0
:
1
;
unsigned
lang_flag_1
:
1
;
unsigned
lang_flag_1
:
1
;
unsigned
lang_flag_2
:
1
;
unsigned
lang_flag_2
:
1
;
...
...
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