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
9520cb3e
Commit
9520cb3e
authored
Apr 13, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_node_brief, print_node): Properly cast arg when printing ints
or rtx. From-SVN: r4141
parent
8b5ba7f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/print-tree.c
+5
-4
No files found.
gcc/print-tree.c
View file @
9520cb3e
...
...
@@ -80,7 +80,7 @@ print_node_brief (file, prefix, node, indent)
if
(
indent
>
0
)
fprintf
(
file
,
" "
);
fprintf
(
file
,
"%s <%s "
,
prefix
,
tree_code_name
[(
int
)
TREE_CODE
(
node
)]);
fprintf
(
file
,
HOST_PTR_PRINTF
,
node
);
fprintf
(
file
,
HOST_PTR_PRINTF
,
(
HOST_WIDE_INT
)
node
);
if
(
class
==
'd'
)
{
...
...
@@ -226,7 +226,7 @@ print_node (file, prefix, node, indent)
/* Print the slot this node is in, and its code, and address. */
fprintf
(
file
,
"%s <%s "
,
prefix
,
tree_code_name
[(
int
)
TREE_CODE
(
node
)]);
fprintf
(
file
,
HOST_PTR_PRINTF
,
node
);
fprintf
(
file
,
HOST_PTR_PRINTF
,
(
HOST_WIDE_INT
)
node
);
/* Print the name, if any. */
if
(
class
==
'd'
)
...
...
@@ -392,7 +392,8 @@ print_node (file, prefix, node, indent)
else
if
(
TREE_CODE
(
node
)
==
FUNCTION_DECL
)
{
fprintf
(
file
,
"saved-insns "
);
fprintf
(
file
,
HOST_PTR_PRINTF
,
DECL_SAVED_INSNS
(
node
));
fprintf
(
file
,
HOST_PTR_PRINTF
,
(
HOST_WIDE_INT
)
DECL_SAVED_INSNS
(
node
));
}
}
...
...
@@ -524,7 +525,7 @@ print_node (file, prefix, node, indent)
indent_to
(
file
,
indent
+
4
);
fprintf
(
file
,
"rtl %d "
,
i
);
if
(
TREE_OPERAND
(
node
,
i
))
print_rtl
(
file
,
TREE_OPERAND
(
node
,
i
));
print_rtl
(
file
,
(
rtx
)
TREE_OPERAND
(
node
,
i
));
else
fprintf
(
file
,
"(nil)"
);
fprintf
(
file
,
"
\n
"
);
...
...
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