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
3629f741
Commit
3629f741
authored
Sep 15, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_node): Don't print blank line for null fields in a TREE_VEC.
From-SVN: r2133
parent
7dcdbecb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
gcc/print-tree.c
+7
-6
No files found.
gcc/print-tree.c
View file @
3629f741
...
...
@@ -601,12 +601,13 @@ print_node (file, prefix, node, indent)
case
TREE_VEC
:
len
=
TREE_VEC_LENGTH
(
node
);
for
(
i
=
0
;
i
<
len
;
i
++
)
{
char
temp
[
10
];
sprintf
(
temp
,
"elt %d"
,
i
);
indent_to
(
file
,
indent
+
4
);
print_node_brief
(
file
,
temp
,
TREE_VEC_ELT
(
node
,
i
),
0
);
}
if
(
TREE_VEC_ELT
(
node
,
i
))
{
char
temp
[
10
];
sprintf
(
temp
,
"elt %d"
,
i
);
indent_to
(
file
,
indent
+
4
);
print_node_brief
(
file
,
temp
,
TREE_VEC_ELT
(
node
,
i
),
0
);
}
break
;
case
OP_IDENTIFIER
:
...
...
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