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
1e66ce77
Commit
1e66ce77
authored
Nov 15, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_node{,_brief}, case INTEGER_CST): Use HOST_WIDE_INT_PRINT_*.
From-SVN: r13176
parent
734de8c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
55 deletions
+16
-55
gcc/print-tree.c
+16
-55
No files found.
gcc/print-tree.c
View file @
1e66ce77
/* Prints out tree in human readable form - GNU C-compiler
Copyright (C) 1990,
1991, 1993, 1994, 1995
Free Software Foundation, Inc.
Copyright (C) 1990,
91, 93, 94, 95, 1996
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -109,38 +109,18 @@ print_node_brief (file, prefix, node, indent)
if
(
TREE_CONSTANT_OVERFLOW
(
node
))
fprintf
(
file
,
" overflow"
);
fprintf
(
file
,
" "
);
if
(
TREE_INT_CST_HIGH
(
node
)
==
0
)
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
" %1u"
,
#else
" %1lu"
,
#endif
TREE_INT_CST_LOW
(
node
));
fprintf
(
file
,
HOST_WIDE_INT_PRINT_UNSIGNED
,
TREE_INT_CST_LOW
(
node
));
else
if
(
TREE_INT_CST_HIGH
(
node
)
==
-
1
&&
TREE_INT_CST_LOW
(
node
)
!=
0
)
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
" -%1u"
,
#else
" -%1lu"
,
#endif
{
fprintf
(
file
,
"-"
);
fprintf
(
file
,
HOST_WIDE_INT_PRINT_UNSIGNED
,
-
TREE_INT_CST_LOW
(
node
));
}
else
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == 64
#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
" 0x%lx%016lx"
,
#else
" 0x%x%016x"
,
#endif
#else
#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
" 0x%lx%08lx"
,
#else
" 0x%x%08x"
,
#endif
#endif
fprintf
(
file
,
HOST_WIDE_INT_PRINT_DOUBLE_HEX
,
TREE_INT_CST_HIGH
(
node
),
TREE_INT_CST_LOW
(
node
));
}
if
(
TREE_CODE
(
node
)
==
REAL_CST
)
...
...
@@ -622,38 +602,19 @@ print_node (file, prefix, node, indent)
if
(
TREE_CONSTANT_OVERFLOW
(
node
))
fprintf
(
file
,
" overflow"
);
fprintf
(
file
,
" "
);
if
(
TREE_INT_CST_HIGH
(
node
)
==
0
)
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
" %1u"
,
#else
" %1lu"
,
#endif
fprintf
(
file
,
HOST_WIDE_INT_PRINT_UNSIGNED
,
TREE_INT_CST_LOW
(
node
));
else
if
(
TREE_INT_CST_HIGH
(
node
)
==
-
1
&&
TREE_INT_CST_LOW
(
node
)
!=
0
)
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
" -%1u"
,
#else
" -%1lu"
,
#endif
-
TREE_INT_CST_LOW
(
node
));
{
fprintf
(
file
,
"-"
);
fprintf
(
file
,
HOST_WIDE_INT_PRINT_UNSIGNED
,
-
TREE_INT_CST_LOW
(
node
));
}
else
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == 64
#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
" 0x%lx%016lx"
,
#else
" 0x%x%016x"
,
#endif
#else
#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
" 0x%lx%08lx"
,
#else
" 0x%x%08x"
,
#endif
#endif
fprintf
(
file
,
HOST_WIDE_INT_PRINT_DOUBLE_HEX
,
TREE_INT_CST_HIGH
(
node
),
TREE_INT_CST_LOW
(
node
));
break
;
...
...
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