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
910d1693
Commit
910d1693
authored
Jul 30, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_node{,_brief}): Use correct printf code to print INTEGER_CST if
HOST_WIDE_INT is wider than int. From-SVN: r7838
parent
39e0911f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
4 deletions
+28
-4
gcc/print-tree.c
+28
-4
No files found.
gcc/print-tree.c
View file @
910d1693
...
...
@@ -109,10 +109,22 @@ print_node_brief (file, prefix, node, indent)
fprintf
(
file
,
" overflow"
);
if
(
TREE_INT_CST_HIGH
(
node
)
==
0
)
fprintf
(
file
,
" %1u"
,
TREE_INT_CST_LOW
(
node
));
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
" %1u"
,
#else
" %1lu"
,
#endif
TREE_INT_CST_LOW
(
node
));
else
if
(
TREE_INT_CST_HIGH
(
node
)
==
-
1
&&
TREE_INT_CST_LOW
(
node
)
!=
0
)
fprintf
(
file
,
" -%1u"
,
-
TREE_INT_CST_LOW
(
node
));
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
" -%1u"
,
#else
" -%1lu"
,
#endif
-
TREE_INT_CST_LOW
(
node
));
else
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == 64
...
...
@@ -558,10 +570,22 @@ print_node (file, prefix, node, indent)
fprintf
(
file
,
" overflow"
);
if
(
TREE_INT_CST_HIGH
(
node
)
==
0
)
fprintf
(
file
,
" %1u"
,
TREE_INT_CST_LOW
(
node
));
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
" %1u"
,
#else
" %1lu"
,
#endif
TREE_INT_CST_LOW
(
node
));
else
if
(
TREE_INT_CST_HIGH
(
node
)
==
-
1
&&
TREE_INT_CST_LOW
(
node
)
!=
0
)
fprintf
(
file
,
" -%1u"
,
-
TREE_INT_CST_LOW
(
node
));
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
" -%1u"
,
#else
" -%1lu"
,
#endif
-
TREE_INT_CST_LOW
(
node
));
else
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == 64
...
...
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