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
96a31ab8
Commit
96a31ab8
authored
Aug 25, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_node): Print more flags for types and decls.
From-SVN: r7980
parent
ea3373cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
8 deletions
+40
-8
gcc/print-tree.c
+40
-8
No files found.
gcc/print-tree.c
View file @
96a31ab8
...
...
@@ -352,22 +352,47 @@ print_node (file, prefix, node, indent)
case
'd'
:
mode
=
DECL_MODE
(
node
);
if
(
DECL_IGNORED_P
(
node
))
fputs
(
" ignored"
,
file
);
if
(
DECL_ABSTRACT
(
node
))
fputs
(
" abstract"
,
file
);
if
(
DECL_IN_SYSTEM_HEADER
(
node
))
fputs
(
" in_system_header"
,
file
);
if
(
DECL_COMMON
(
node
))
fputs
(
" common"
,
file
);
if
(
DECL_EXTERNAL
(
node
))
fputs
(
" external"
,
file
);
if
(
DECL_NONLOCAL
(
node
))
fputs
(
" nonlocal"
,
file
);
if
(
DECL_REGISTER
(
node
))
fputs
(
" regdecl"
,
file
);
if
(
DECL_PACKED
(
node
))
fputs
(
" packed"
,
file
);
if
(
DECL_NONLOCAL
(
node
))
fputs
(
" nonlocal"
,
file
);
if
(
DECL_INLINE
(
node
))
fputs
(
" inline"
,
file
);
if
(
DECL_BIT_FIELD
(
node
))
if
(
TREE_CODE
(
node
)
==
TYPE_DECL
&&
TYPE_DECL_SUPPRESS_DEBUG
(
node
))
fputs
(
" supress-debug"
,
file
);
if
(
TREE_CODE
(
node
)
==
FUNCTION_DECL
&&
DECL_BUILT_IN
(
node
))
fputs
(
" built-in"
,
file
);
if
(
TREE_CODE
(
node
)
==
FUNCTION_DECL
&&
DECL_BUILT_IN_NONANSI
(
node
))
fputs
(
" built-in-nonansi"
,
file
);
if
(
TREE_CODE
(
node
)
==
FIELD_DECL
&&
DECL_BIT_FIELD
(
node
))
fputs
(
" bit-field"
,
file
);
if
(
TREE_CODE
(
node
)
==
LABEL_DECL
&&
DECL_TOO_LATE
(
node
))
fputs
(
" too-late"
,
file
);
if
(
TREE_CODE
(
node
)
==
VAR_DECL
&&
DECL_IN_TEXT_SECTION
(
node
))
fputs
(
" in-text-section"
,
file
);
if
(
DECL_VIRTUAL_P
(
node
))
fputs
(
" virtual"
,
file
);
if
(
DECL_IGNORED_P
(
node
))
fputs
(
" ignored"
,
file
);
if
(
DECL_IN_SYSTEM_HEADER
(
node
))
fputs
(
" in_system_header"
,
file
);
if
(
DECL_DEFER_OUTPUT
(
node
))
fputs
(
" defer-output"
,
file
);
if
(
DECL_TRANSPARENT_UNION
(
node
))
fputs
(
" transparent-union"
,
file
);
if
(
DECL_LANG_FLAG_0
(
node
))
fputs
(
" decl_0"
,
file
);
if
(
DECL_LANG_FLAG_1
(
node
))
...
...
@@ -441,7 +466,14 @@ print_node (file, prefix, node, indent)
case
't'
:
if
(
TYPE_NO_FORCE_BLK
(
node
))
fputs
(
" no_force_blk"
,
file
);
fputs
(
" no-force-blk"
,
file
);
if
(
TYPE_STRING_FLAG
(
node
))
fputs
(
" string-flag"
,
file
);
if
(
TYPE_NEEDS_CONSTRUCTING
(
node
))
fputs
(
" needs-constructing"
,
file
);
if
(
TYPE_TRANSPARENT_UNION
(
node
))
fputs
(
" transparent-union"
,
file
);
if
(
TYPE_LANG_FLAG_0
(
node
))
fputs
(
" type_0"
,
file
);
if
(
TYPE_LANG_FLAG_1
(
node
))
...
...
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